]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-address.c
network/address: make Address object more consistent with assigned address
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 8 Jul 2023 06:40:57 +0000 (15:40 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 30 Jul 2023 17:30:43 +0000 (02:30 +0900)
commit3c283289aefb3cfb8bfa5c759209368b63d1692c
treea2209f0f0f56731a5c66ef1bf0388cd559fe2cc6
parentda59599d3dc9fb1937ca4b78fd30312c467aabb5
network/address: make Address object more consistent with assigned address

This makes `manager_rtnl_process_address()`
- first read minimal information to get managed Address object,
- then update the managed Address object directly.

Previously, we updated the Address object managed by Link partially,
e.g. peer address did not updated.
This makes the managed Address object more consistent with the assigned
address.
src/network/networkd-address.c