diff options
author | Tom Gundersen <teg@jklm.no> | 2014-03-20 19:20:55 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-20 20:18:15 +0100 |
commit | c49b33aca6fd6a66e2bc43dad4a12701b7df8472 (patch) | |
tree | 495e04463c13e05971586302bdedc163a7f4d61c /src/network/networkd-manager.c | |
parent | 58ec2d3e6e7d2274f5bb5cb64b936f1dbac45168 (diff) |
networkd: update mac address in clients when it changes
Pass the mac address on to ipv4ll and dhcp clients so they always have
up-to-date information, and may react appropriately to the change.
Also drop setting the mac address from uevent, and only log when the
address actually changes.
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r-- | src/network/networkd-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index ea414b1f1e..46815e0fd0 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -312,13 +312,13 @@ static int manager_rtnl_process_link(sd_rtnl *rtnl, sd_rtnl_message *message, vo r = sd_rtnl_message_link_get_ifindex(message, &ifindex); if (r < 0 || ifindex <= 0) { - log_debug("received RTM_NEWLINK message without valid ifindex"); + log_warning("received RTM_NEWLINK message without valid ifindex"); return 0; } r = sd_rtnl_message_read_string(message, IFLA_IFNAME, &name); if (r < 0) - log_debug("received RTM_NEWLINK message without valid IFLA_IFNAME"); + log_warning("received RTM_NEWLINK message without valid ifname"); else { NetDev *netdev; |