summaryrefslogtreecommitdiff
path: root/src/shared/netif-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-12-07 08:23:27 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-12-07 15:01:04 +0900
commit45aa0e841ba084ef259d5970e340702130cd548c (patch)
tree0b81401ec7192d80c89604e1f77cecb4e1456d5d /src/shared/netif-util.h
parentf836390fa75f055b30867a81883075c4d791e7fd (diff)
downloadsystemd-45aa0e841ba084ef259d5970e340702130cd548c.tar.gz
network,udev: do not adjust local assignment bit of specified MAC address
People often assigns the MAC address of the enslaved interface to e.g. bridge interface. So, the local assignment bit should not be adjusted. Fixes #21649.
Diffstat (limited to 'src/shared/netif-util.h')
-rw-r--r--src/shared/netif-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/netif-util.h b/src/shared/netif-util.h
index 0977681153..c26dab63cf 100644
--- a/src/shared/netif-util.h
+++ b/src/shared/netif-util.h
@@ -15,7 +15,7 @@ int net_get_unique_predictable_data(sd_device *device, bool use_sysname, uint64_
int net_get_unique_predictable_data_from_name(const char *name, const sd_id128_t *key, uint64_t *ret);
int net_verify_hardware_address(
const char *ifname,
- bool warn_invalid,
+ bool is_static,
uint16_t iftype,
const struct hw_addr_data *ib_hw_addr,
struct hw_addr_data *new_hw_addr);