diff --git a/src/devices/nm-device-bond.c b/src/devices/nm-device-bond.c index a964fa37d9..73ce460a2e 100644 --- a/src/devices/nm-device-bond.c +++ b/src/devices/nm-device-bond.c @@ -177,7 +177,7 @@ update_connection (NMDevice *device, NMConnection *connection) *p = '\0'; } - if (nm_streq (*options, NM_SETTING_BOND_OPTION_MODE)) + if (value && nm_streq (*options, NM_SETTING_BOND_OPTION_MODE)) mode = _nm_setting_bond_mode_from_string (value); if (!_nm_setting_bond_option_supported (*options, mode))