]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: do not serialize/deserialize ipv4ll address
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Oct 2020 06:30:25 +0000 (15:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Oct 2020 06:46:09 +0000 (15:46 +0900)
commitca97e7cda0fb3c00b96a1f1979d15cccd0f8b669
treec2bfdc19c3940a8ea2487fd39b23e570e8014ee6
parent778c879533af090e691a67f64f251686a9dbd155
network: do not serialize/deserialize ipv4ll address

The link state file is always removed on stop. So, we cannot deserialize
the address from the file. Moreover, currently the IPv4 link-local address
is always dropped by link_drop_foreign_addresses() on restart. Let's
drop the serialize/deserialize logic for IPv4 LL address.
src/network/networkd-ipv4ll.c
src/network/networkd-ipv4ll.h
src/network/networkd-link.c