diff options
author | Thomas Haller <thaller@redhat.com> | 2021-09-16 08:38:23 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-09-16 08:38:25 +0200 |
commit | 571ce653fdf3ccd0a76389967e3118b4be6e7bd1 (patch) | |
tree | afd6a7f227b9f51f2fac3004983136597c8f3a49 | |
parent | c2ab21a1b92e2e87fc64acd17c41f7c8f1c76de5 (diff) | |
download | NetworkManager-571ce653fdf3ccd0a76389967e3118b4be6e7bd1.tar.gz |
device: set up device also while "assuming"
"assuming" means to gracefully take over after restart. The result
should be a working configuration with a device fully managed by
NetworkManager.
If we are assuming, and the interface is down we still want to set it
up.
-rw-r--r-- | src/core/devices/nm-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index a2b24ec90e..0ee21bfb82 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -11965,7 +11965,7 @@ activate_stage5_ip_config_result_x(NMDevice *self, int addr_family) g_return_if_fail(ip_ifindex); if (!nm_platform_link_is_up(nm_device_get_platform(self), ip_ifindex) - && !nm_device_sys_iface_state_is_external_or_assume(self)) { + && !nm_device_sys_iface_state_is_external(self)) { nm_platform_link_change_flags(nm_device_get_platform(self), ip_ifindex, IFF_UP, TRUE); if (!nm_platform_link_is_up(nm_device_get_platform(self), ip_ifindex)) _LOGW(LOGD_DEVICE, |