mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
networkd: improve interface rename log message a bit (#7299)
Let's clarify that it's not networkd that renames interfaces, but something else (for example, udev's link builtin based on .link files) This doesn't change any logic, it just rewords the message a bit, to clarify that we only log this for informational purposes, not because we execute the rename operation ourselves. Fixes: #7143
This commit is contained in:
parent
edc3eff50f
commit
aa2b10daec
@ -3149,7 +3149,7 @@ int link_update(Link *link, sd_netlink_message *m) {
|
||||
|
||||
r = sd_netlink_message_read_string(m, IFLA_IFNAME, &ifname);
|
||||
if (r >= 0 && !streq(ifname, link->ifname)) {
|
||||
log_link_info(link, "Renamed to %s", ifname);
|
||||
log_link_info(link, "Interface name change detected, %s has been renamed to %s.", link->ifname, ifname);
|
||||
|
||||
link_free_carrier_maps(link);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user