device: fix suppressing warning log about unsupported IPv6LL handling

Wrongly did not suppress the message

    <warn>  [1550844832.3749] device (tunl0): failed to disable userspace IPv6LL address handling (not-supported)

Fixes: d18f40320d
This commit is contained in:
Thomas Haller 2019-02-22 15:32:00 +01:00
parent de1022285a
commit 46bc5feb99

View file

@ -9597,7 +9597,7 @@ set_nm_ipv6ll (NMDevice *self, gboolean enable)
_LOGD (LOGD_IP6, "will %s userland IPv6LL", detail);
r = nm_platform_link_set_user_ipv6ll_enabled (nm_device_get_platform (self), ifindex, enable);
if (r < 0) {
_NMLOG ( NM_IN_SET (r, -NME_PL_NOT_FOUND
_NMLOG ( NM_IN_SET (r, -NME_PL_NOT_FOUND,
-NME_PL_OPNOTSUPP)
? LOGL_DEBUG
: LOGL_WARN,