mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 03:10:16 +01:00
devices/ipvlan,macvlan: rephrase an error message
This commit is contained in:
parent
3bcbe6ed01
commit
41840262bc
2 changed files with 4 additions and 6 deletions
|
|
@ -183,9 +183,8 @@ create_and_realize(NMDevice *device,
|
|||
g_set_error(error,
|
||||
NM_DEVICE_ERROR,
|
||||
NM_DEVICE_ERROR_FAILED,
|
||||
"unsupported IPVLAN mode %u in connection %s",
|
||||
nm_setting_ipvlan_get_mode(s_ipvlan),
|
||||
nm_connection_get_uuid(connection));
|
||||
"unsupported IPVLAN mode %u",
|
||||
nm_setting_ipvlan_get_mode(s_ipvlan));
|
||||
return FALSE;
|
||||
}
|
||||
lnk.mode = setting_mode_to_platform(nm_setting_ipvlan_get_mode(s_ipvlan));
|
||||
|
|
|
|||
|
|
@ -232,9 +232,8 @@ create_and_realize(NMDevice *device,
|
|||
g_set_error(error,
|
||||
NM_DEVICE_ERROR,
|
||||
NM_DEVICE_ERROR_FAILED,
|
||||
"unsupported MACVLAN mode %u in connection %s",
|
||||
nm_setting_macvlan_get_mode(s_macvlan),
|
||||
nm_connection_get_uuid(connection));
|
||||
"unsupported MACVLAN mode %u",
|
||||
nm_setting_macvlan_get_mode(s_macvlan));
|
||||
return FALSE;
|
||||
}
|
||||
lnk.no_promisc = !nm_setting_macvlan_get_promiscuous(s_macvlan);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue