]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
netif-util: update log message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 26 Nov 2021 12:00:18 +0000 (21:00 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 26 Nov 2021 12:05:52 +0000 (21:05 +0900)
Follow-up for 37593b7c488f7b957936500158f200af16534c6b.

src/shared/netif-util.c

index 8d3d4473fa6111f77dd840e29c372e9a5a4d6c7a..6afb3c3b691d057b8885bf1020b54a6c3fc88fac 100644 (file)
@@ -148,14 +148,14 @@ int net_verify_hardware_address(
 
                 if (ether_addr_is_multicast(&new_hw_addr->ether)) {
                         if (warn_invalid)
-                                log_link_warning(&link, "Specified MAC address has multicast bit set, clearing the bit.");
+                                log_link_warning(&link, "Specified MAC address has the multicast bit set, clearing the bit.");
 
                         new_hw_addr->bytes[0] &= 0xfe;
                 }
 
                 if (!ether_addr_is_local(&new_hw_addr->ether)) {
                         if (warn_invalid)
-                                log_link_warning(&link, "Specified MAC address has not local assignment bit set, setting the bit.");
+                                log_link_warning(&link, "Specified MAC address does not have the local assignment bit set, setting the bit.");
 
                         new_hw_addr->bytes[0] |= 0x02;
                 }