1
0
mirror of https://github.com/systemd/systemd.git synced 2025-09-13 05:44:40 +03:00

networkd: link - clarify log message when receiving address for unknown link

This commit is contained in:
Tom Gundersen
2014-09-04 14:16:56 +02:00
parent bd2efe9219
commit a821cbb00c

View File

@@ -1336,7 +1336,7 @@ int link_rtnl_process_address(sd_rtnl *rtnl, sd_rtnl_message *message,
} else { } else {
r = link_get(m, ifindex, &link); r = link_get(m, ifindex, &link);
if (r < 0 || !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; return 0;
} }
} }