]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: actually show the unexpected flags
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 11 Dec 2023 15:16:02 +0000 (16:16 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 12 Dec 2023 09:56:43 +0000 (18:56 +0900)
commitb7d435925dd81e7ab505c41692140c7a3ad2f73e
tree9e4d1612f6b9f61d9438a04b21e21089e1b4b752
parent04651f7564d48f86d79569b455f96c3b9b79562e
network: actually show the unexpected flags

The original version would yield a slightly _unexpected_ message for
this [Address] section:

[Address]
Address=10.9.3.1/24
HomeAddress=yes
ManageTemporaryAddress=yes

systemd-networkd[68396]: /run/systemd/network/25-address-static.network: unexpected address flags "n/a" were configured. Ignoring [Address] section from line 144.

Let's instead show the unexpected flags:

systemd-networkd[69160]: /run/systemd/network/25-address-static.network: unexpected address flags "home-address,manage-temporary-address" were configured. Ignoring [Address] section from line 144.
src/network/networkd-address.c