network/address: check if existing addresses can be updated in more detail
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 11 Jul 2023 02:21:30 +0000 (11:21 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 31 Jul 2023 09:15:26 +0000 (18:15 +0900)
commitb5aefc90e6d8428aca20a1c05e258f6d01c154fd
tree37484606fc0380c1d0fa20038ebef6c61c190001
parentf35aecc4168ba99dc4319954593b2adc31c17c10
network/address: check if existing addresses can be updated in more detail

Some properties of address can be updated, but some cannot.
On reconfiguring an interface or restarting networkd, let's keep an
assigned address only when it can be updated later with the requested
setting, and otherwise drop it.
src/network/networkd-address.c