diff options
| author | Michael Biebl <biebl@debian.org> | 2022-12-18 21:31:39 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-12-18 21:31:39 +0100 |
| commit | 2965dc70bb3cbfa8de2f279761812b84b87600cb (patch) | |
| tree | 90d4a861f7cd7a05834e7328af7677e7c8acd17f /src/core/devices/nm-device-bond.c | |
| parent | 6e9d10e114f94799d54bb3dabc66e35ab4e3e8cd (diff) | |
New upstream version 1.40.8 upstream/1.40.8
Diffstat (limited to 'src/core/devices/nm-device-bond.c')
| -rw-r--r-- | src/core/devices/nm-device-bond.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/devices/nm-device-bond.c b/src/core/devices/nm-device-bond.c index 3e083de4..10765b60 100644 --- a/src/core/devices/nm-device-bond.c +++ b/src/core/devices/nm-device-bond.c @@ -492,7 +492,7 @@ act_stage1_prepare(NMDevice *device, NMDeviceStateReason *out_failure_reason) /* This is a workaround because netlink do not support ifname as primary */ set_bond_attr_or_default(device, s_bond, NM_SETTING_BOND_OPTION_PRIMARY); - nm_device_bring_up(device, TRUE, NULL); + nm_device_bring_up(device); return ret; } @@ -540,7 +540,7 @@ attach_port(NMDevice *device, success = nm_platform_link_enslave(nm_device_get_platform(device), nm_device_get_ip_ifindex(device), nm_device_get_ip_ifindex(port)); - nm_device_bring_up(port, TRUE, NULL); + nm_device_bring_up(port); if (!success) { _LOGI(LOGD_BOND, "attaching bond port %s: failed", nm_device_get_ip_iface(port)); @@ -613,7 +613,7 @@ detach_port(NMDevice *device, NMDevice *port, gboolean configure) * other state is noticed by the now-released slave. */ if (ifindex_slave > 0) { - if (!nm_device_bring_up(port, TRUE, NULL)) + if (!nm_device_bring_up(port)) _LOGW(LOGD_BOND, "detached bond port could not be brought up."); } } else { |