]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
ether-addr-util: make hw_addr_is_null() return true also for all zero address 21271/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 6 Nov 2021 05:12:30 +0000 (14:12 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 8 Nov 2021 23:20:51 +0000 (08:20 +0900)
commitde0f1579847a69f51db4e00062eafc37df7456fe
tree6fd24d241e1c3a0ecf2776b3319aa009e4c22a45
parent1f86a3fe52c71af7f46381bf45c2efe580a19dcc
ether-addr-util: make hw_addr_is_null() return true also for all zero address

This fixes the following error:
---
systemd-networkd[1449490]: ip6tnl0: Saved hardware address: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
systemd-networkd[1449490]: ip6tnl0: Failed to manage link by its new hardware address, ignoring: File exists
---
src/basic/ether-addr-util.h
src/network/networkctl.c
src/network/networkd-link.c