network/address: warn but ignore Broadcast= setting for an IPv6 address
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 22 Sep 2024 18:30:32 +0000 (03:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Oct 2024 18:26:06 +0000 (03:26 +0900)
commit5d15c7b19cae6d3332d4e213c380e0fcc1317a2c
treebd67848540cda7a66677e11062951366b0e59b87
parente58ec0dc90f048c4b5c040e534e82d2aeafab61a
network/address: warn but ignore Broadcast= setting for an IPv6 address

Previously, the below was refused and the IPv6 address would not assigned.
===
[Address]
Address=2001:db8:0:f101::15/64
Broadcast=192.168.0.255
===
However, in the following case, networkd warned about the broadcast
address would be ignored, and the IPv6 address would be configured.
===
[Address]
Broadcast=192.168.0.255
Address=2001:db8:0:f101::15/64
===
src/network/networkd-address.c