summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-02-22 15:32:00 +0100
committerThomas Haller <thaller@redhat.com>2019-02-22 15:32:17 +0100
commit46bc5feb996d6e607200c1631b4f9b2125c58a6b (patch)
tree0c928c8b79d173c82f33fdd014ff8dc470893f45
parentde1022285a6c09763d878cf60ef7e200343ae373 (diff)
downloadNetworkManager-46bc5feb996d6e607200c1631b4f9b2125c58a6b.tar.gz
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: d18f40320d1a5bb5f43a61f473d2cb6105da9b4e
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 8568611ccb..68bc805529 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -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,