diff --git a/src/ip6-manager/nm-ip6-manager.c b/src/ip6-manager/nm-ip6-manager.c index 40060c3c4c..99f85ede27 100644 --- a/src/ip6-manager/nm-ip6-manager.c +++ b/src/ip6-manager/nm-ip6-manager.c @@ -446,8 +446,9 @@ nm_ip6_device_sync_from_netlink (NMIP6Device *device, gboolean config_changed) addr = nl_addr_get_binary_addr (nladdr); if (inet_ntop (AF_INET6, addr, buf, INET6_ADDRSTRLEN) > 0) { - nm_log_dbg (LOGD_IP6, "(%s): netlink address: %s", - device->iface, buf); + nm_log_dbg (LOGD_IP6, "(%s): netlink address: %s/%d", + device->iface, buf, + rtnl_addr_get_prefixlen (rtnladdr)); } if (IN6_IS_ADDR_LINKLOCAL (addr)) { diff --git a/src/nm-system.c b/src/nm-system.c index 1710e222b9..27cbcd6767 100644 --- a/src/nm-system.c +++ b/src/nm-system.c @@ -241,7 +241,7 @@ sync_addresses (int ifindex, if (buf_valid) { nm_log_dbg (log_domain, "(%s): removing address '%s/%d'", - iface, buf, nl_addr_get_prefixlen (nladdr)); + iface, buf, rtnl_addr_get_prefixlen (match_addr)); } /* Otherwise, match_addr should be removed from the interface. */