diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-07-27 12:29:46 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-08-04 13:46:02 +0200 |
commit | dee3dcf9c52963d0a8b51f4208c90c424a74f229 (patch) | |
tree | 1c39b91e50e8d38737fba78398938b4662f446ce | |
parent | 82da29746d8c9fa45a6baba369327a0e9fa0dfdd (diff) | |
download | NetworkManager-dee3dcf9c52963d0a8b51f4208c90c424a74f229.tar.gz |
device: lower serverity of MTU adjustment logging
Warn is probably too harsh, but we still need to log the reason for the change.
(cherry picked from commit f7f9e734aa32cba19a174dad57686708331c0e18)
-rw-r--r-- | src/devices/nm-device.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 966cbf5002..6a60fee7d8 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -4493,19 +4493,19 @@ nm_device_ipv6_set_mtu (NMDevice *self, guint32 mtu) priv->ip6_mtu = mtu ?: plat_mtu; if (priv->ip6_mtu && priv->mtu && priv->mtu < priv->ip6_mtu) { - _LOGW (LOGD_DEVICE | LOGD_IP6, "Lowering IPv6 MTU (%d) to match device MTU (%d)", + _LOGI (LOGD_DEVICE | LOGD_IP6, "Lowering IPv6 MTU (%d) to match device MTU (%d)", priv->ip6_mtu, priv->mtu); priv->ip6_mtu = priv->mtu; } if (priv->ip6_mtu && priv->ip6_mtu < 1280) { - _LOGW (LOGD_DEVICE | LOGD_IP6, "IPv6 MTU (%d) smaller than 1280, adjusting", + _LOGI (LOGD_DEVICE | LOGD_IP6, "IPv6 MTU (%d) smaller than 1280, adjusting", priv->ip6_mtu); priv->ip6_mtu = 1280; } if (priv->ip6_mtu && priv->mtu && priv->mtu < priv->ip6_mtu) { - _LOGW (LOGD_DEVICE | LOGD_IP6, "Raising device MTU (%d) to match IPv6 MTU (%d)", + _LOGI (LOGD_DEVICE | LOGD_IP6, "Raising device MTU (%d) to match IPv6 MTU (%d)", priv->mtu, priv->ip6_mtu); nm_device_set_mtu (self, priv->ip6_mtu); } |