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:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user