} else if (r < 0)
return r;
+ if (link->flags & IFF_LOOPBACK) {
+ log_debug_link(link, "matching network ignored for loopback link");
+ link_enter_unmanaged(link);
+ return 1;
+ }
+
r = network_apply(link->manager, network, link);
if (r < 0)
return r;
} else {
r = link_get(m, ifindex, &link);
if (r < 0 || !link) {
- log_warning("rtnl: received address for a nonexistent link, ignoring");
+ log_warning("rtnl: received address for a nonexistent link (%d), ignoring", ifindex);
return 0;
}
}