summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-09-25 16:05:31 -0500
committerDan Williams <dcbw@redhat.com>2014-09-25 16:05:31 -0500
commit6ae3c1bb828bebd708d6dc9992c780ee58f7fe9f (patch)
tree094fdd12edbf05d0af246880dd2e63ba60947ce2
parent9eb7daaa0dd8cbaec733f51d1a141a0ba0c3ab63 (diff)
downloadNetworkManager-6ae3c1bb828bebd708d6dc9992c780ee58f7fe9f.tar.gz
trivial: quiet error setting userspace IPv6LL if link no longer exists
-rw-r--r--src/devices/nm-device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index f8bbdda468..28fd128b0b 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -3859,7 +3859,8 @@ set_nm_ipv6ll (NMDevice *self, gboolean enable)
const char *detail = enable ? "enable" : "disable";
_LOGD (LOGD_IP6, "will %s userland IPv6LL", detail);
- if (!nm_platform_link_set_user_ipv6ll_enabled (ifindex, enable))
+ if ( !nm_platform_link_set_user_ipv6ll_enabled (ifindex, enable)
+ && nm_platform_get_error () != NM_PLATFORM_ERROR_NOT_FOUND)
_LOGW (LOGD_IP6, "failed to %s userspace IPv6LL address handling", detail);
}
}