mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 13:30:20 +01:00
platform: fix printing macvtap links
This commit is contained in:
parent
0d5e712f73
commit
4b46c74af7
1 changed files with 2 additions and 1 deletions
|
|
@ -5236,7 +5236,8 @@ nm_platform_lnk_macvlan_to_string (const NMPlatformLnkMacvlan *lnk, char *buf, g
|
|||
return buf;
|
||||
|
||||
g_snprintf (buf, len,
|
||||
"macvlan mode %u %s",
|
||||
"%s mode %u %s",
|
||||
lnk->tap ? "macvtap" : "macvlan",
|
||||
lnk->mode,
|
||||
lnk->no_promisc ? "not-promisc" : "promisc");
|
||||
return buf;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue