mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-21 07:30:31 +01:00
platform: change format to print link-type in nm_platform_link_to_string()
This commit is contained in:
parent
3d734b30a2
commit
9ce0995efb
1 changed files with 2 additions and 3 deletions
|
|
@ -3023,7 +3023,7 @@ nm_platform_link_to_string (const NMPlatformLink *link, char *buf, gsize len)
|
|||
" mtu %d"
|
||||
"%s" /* master */
|
||||
" arp %u" /* arptype */
|
||||
"%s%s" /* link->type */
|
||||
" %s" /* link->type */
|
||||
"%s%s" /* kind */
|
||||
"%s" /* is-in-udev */
|
||||
"%s" /* addr-gen-mode */
|
||||
|
|
@ -3037,9 +3037,8 @@ nm_platform_link_to_string (const NMPlatformLink *link, char *buf, gsize len)
|
|||
str_flags->str,
|
||||
link->mtu, master,
|
||||
link->arptype,
|
||||
str_link_type ? " " : "",
|
||||
str_if_set (str_link_type, "???"),
|
||||
link->kind ? (g_strcmp0 (str_link_type, link->kind) ? "/" : "*") : "",
|
||||
link->kind ? (g_strcmp0 (str_link_type, link->kind) ? "/" : "*") : "?",
|
||||
link->kind && g_strcmp0 (str_link_type, link->kind) ? link->kind : "",
|
||||
link->initialized ? " init" : " not-init",
|
||||
str_addrmode,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue