From 6ae3c1bb828bebd708d6dc9992c780ee58f7fe9f Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 25 Sep 2014 16:05:31 -0500 Subject: [PATCH] trivial: quiet error setting userspace IPv6LL if link no longer exists --- src/devices/nm-device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } }