summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nm-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index 7c0dac12b3..7b9da96da3 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -2355,6 +2355,7 @@ _platform_link_cb_idle (PlatformLinkCbData *data)
device = nm_manager_get_device_by_ifindex (self, data->ifindex);
if (device) {
if (nm_device_is_software (device)) {
+ nm_device_sys_iface_state_set (device, NM_DEVICE_SYS_IFACE_STATE_REMOVED);
/* Our software devices stick around until their connection is removed */
if (!nm_device_unrealize (device, FALSE, &error)) {
_LOGW (LOGD_DEVICE, "(%s): failed to unrealize: %s",