mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-20 01:18:31 +02:00
ip6: print out prefix in some debug messages
This commit is contained in:
parent
74d962e8c4
commit
a9c3fe021a
2 changed files with 4 additions and 3 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue