mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 08:20:11 +01:00
parent
4abb943e84
commit
af7321ae3f
1 changed files with 2 additions and 1 deletions
|
|
@ -228,7 +228,8 @@ create_and_realize (NMDevice *device,
|
|||
|
||||
lnk.mode = setting_mode_to_platform (nm_setting_macvlan_get_mode (s_macvlan));
|
||||
if (!lnk.mode) {
|
||||
nm_log_info (LOGD_DEVICE, "unsupported MACVLAN mode %u in connection %s",
|
||||
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));
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue