]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: ipv4acd: update MAC address on change (#26753)
authorBrett Holman <bholman.devel@gmail.com>
Mon, 13 Mar 2023 15:21:30 +0000 (09:21 -0600)
committerGitHub <noreply@github.com>
Mon, 13 Mar 2023 15:21:30 +0000 (00:21 +0900)
Commit 76a86ffdbee2dd9ef0f2b5338e14eb6ba7671456 added function
ipv4acd_update_mac() but invoked ipv4ll_update_mac(), which doesn't
align with debug or commit messages.

src/network/networkd-link.c

index 019bef0590af86ca71f49f75676faab1553b183a..f2839ecf88833667e5b521b3fcb3a17496cf44bd 100644 (file)
@@ -2138,7 +2138,7 @@ static int link_update_hardware_address(Link *link, sd_netlink_message *message)
                         log_link_debug_errno(link, r, "Failed to manage link by its new hardware address, ignoring: %m");
         }
 
-        r = ipv4ll_update_mac(link);
+        r = ipv4acd_update_mac(link);
         if (r < 0)
                 return log_link_debug_errno(link, r, "Could not update MAC address in IPv4 ACD client: %m");