diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-11-05 03:20:29 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-11-25 22:03:19 +0900 |
commit | a8840714f3ed6964bfa0a472f3bd250df6051e77 (patch) | |
tree | 81a7c69eb1703799508596b2d7453f17a0a003b2 /src/network/networkd-network.h | |
parent | 37593b7c488f7b957936500158f200af16534c6b (diff) | |
download | systemd-a8840714f3ed6964bfa0a472f3bd250df6051e77.tar.gz |
network: make MACAddress= takes hardware address with its length is INFINIBAND_ALEN
Also, the multicast and local bits in the specified MAC address for
ethernet are adjusted.
Diffstat (limited to 'src/network/networkd-network.h')
-rw-r--r-- | src/network/networkd-network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h index 626b7710f0..942210470c 100644 --- a/src/network/networkd-network.h +++ b/src/network/networkd-network.h @@ -94,7 +94,7 @@ struct Network { Hashmap *stacked_netdev_names; /* [Link] section */ - struct ether_addr *mac; + struct hw_addr_data hw_addr; uint32_t mtu; int32_t group; int arp; |