trivial: quiet error setting userspace IPv6LL if link no longer exists

This commit is contained in:
Dan Williams 2014-09-25 16:05:31 -05:00
parent 9eb7daaa0d
commit 6ae3c1bb82

View file

@ -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);
}
}