]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-route.c
network/address: unconditionally check if address is ready
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 26 Dec 2023 02:04:20 +0000 (11:04 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 27 Dec 2023 22:08:37 +0000 (07:08 +0900)
commit1a4b0459f644ecaeb3fa15ed0ef7c10c4e059530
treedfbeb1f095e28f3d8b6bcf5248ff73a72dbc26d1
parent3a30d81238335defedbad890f1509953da78675b
network/address: unconditionally check if address is ready

Previously, we checked if the address is ready only when it is an IPv6
address. But, IPv4 address never enter tentative state, hence the check
for an IPv4 address is effectively equivalent to the one for IPv6.
So, let's unify the check. This does not change any effective behavior.
src/network/networkd-address.c
src/network/networkd-address.h
src/network/networkd-route.c