network: configure address with requested lifetime
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 19 Jul 2021 06:18:37 +0000 (15:18 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 19 Jul 2021 16:38:16 +0000 (17:38 +0100)
commit2d302d88e4dfd48b18486c5ce2c7dfeb229a1b0a
tree4326b53b119adacaab1bcbc1cc240dd08e10a4f9
parenta2efdaac077e3aa41720636609be9ff83075bc2e
network: configure address with requested lifetime

When assigning the same address provided by a dynamic addressing
protocol, the new lifetime is stored on Request::Address, but not
Address object in Link object, which can be obtained by address_get().
So, we need to configure address with Address object in Request.

Fixes #20245.
src/network/networkd-address.c