]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/address: acquire address in address_process_request()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 12 Mar 2024 08:35:51 +0000 (17:35 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 15 Mar 2024 14:54:49 +0000 (14:54 +0000)
commitdbf66cd1ab09109cb0fccfd5ff49dd179ecefc34
tree30415201ecf6962535d4b271cc1be374db64f3ef
parentdf81883aa571172e563e68af6fd42baa868943f6
network/address: acquire address in address_process_request()

Previously, if an [Address] section is configured with a null address,
e.g. Address=0.0.0.0/24, then we acquired a free address in
link_request_address().

With this commit, we queue a request with the null address as is, and
acquire a free address later in address_process_request(). Similary,
now IPv4ACD daemon is configured in address_process_request().

With this change, we can make the address acquisition depend on other
conditions, e.g. if the persistent storage is ready or not.
src/network/networkd-address.c