1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-08-22 01:50:10 +03:00

netif-util: update log message

Follow-up for 37593b7c48.
This commit is contained in:
Yu Watanabe
2021-11-26 21:00:18 +09:00
parent baef2ca347
commit 4bd2c4e8e0

View 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;
}