summary refs log tree commit diff
path: root/src/core/devices/team
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-12-18 21:31:39 +0100
committerMichael Biebl <biebl@debian.org>2022-12-18 21:31:39 +0100
commit2965dc70bb3cbfa8de2f279761812b84b87600cb (patch)
tree90d4a861f7cd7a05834e7328af7677e7c8acd17f /src/core/devices/team
parent6e9d10e114f94799d54bb3dabc66e35ab4e3e8cd (diff)
New upstream version 1.40.8 upstream/1.40.8
Diffstat (limited to 'src/core/devices/team')
-rw-r--r--src/core/devices/team/nm-device-team.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/devices/team/nm-device-team.c b/src/core/devices/team/nm-device-team.c
index 4e073ddf..9eca008a 100644
--- a/src/core/devices/team/nm-device-team.c
+++ b/src/core/devices/team/nm-device-team.c
@@ -884,7 +884,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)
             return FALSE;
@@ -934,7 +934,7 @@ detach_port(NMDevice *device, NMDevice *port, gboolean configure)
          * IFF_UP), so we must bring it back up here to ensure carrier changes and
          * other state is noticed by the now-released port.
          */
-        if (!nm_device_bring_up(port, TRUE, NULL)) {
+        if (!nm_device_bring_up(port)) {
             _LOGW(LOGD_TEAM, "detached team port %s could not be brought up", port_iface);
         }