]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-manager.c
networkd: address - distinguish between addresses added by us and by others
authorTom Gundersen <teg@jklm.no>
Wed, 30 Sep 2015 12:01:44 +0000 (14:01 +0200)
committerTom Gundersen <teg@jklm.no>
Wed, 21 Oct 2015 00:35:31 +0000 (02:35 +0200)
commitadda1ed94a04742ddacdc76dfa311816e1ed9f68
treec29e5b9867a54e80baf83505f9c353f96e453017
parentfcf50cff129c1b0c6c415428e659da40c3053e6e
networkd: address - distinguish between addresses added by us and by others

We only keep the addresses that we added ourselves in link->addresses, and
introduce a new set link->addresses_foreign to keep addresses of unknown
origin.

Only functional change is that "foreign" addresses no longer prevent a link
from entering "configured" state.
src/network/networkd-address.c
src/network/networkd-address.h
src/network/networkd-link.c
src/network/networkd-link.h
src/network/networkd-manager.c