Strictly speaking, this is not necessary, but let's make the managed
Address objects more consistent with the kernel's addresses.
else if (r != -ENODATA)
log_link_debug_errno(link, r, "rtnl: failed to read IFA_CACHEINFO attribute, ignoring: %m");
+ r = sd_netlink_message_read_u32(message, IFA_RT_PRIORITY, &address->route_metric);
+ if (r < 0 && r != -ENODATA)
+ log_link_debug_errno(link, r, "rtnl: failed to read IFA_RT_PRIORITY attribute, ignoring: %m");
+
address_enter_configured(address);
if (req)
address_enter_configured(req->userdata);