diff options
author | Tom Gundersen <teg@jklm.no> | 2015-09-30 14:01:44 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-10-21 02:35:31 +0200 |
commit | adda1ed94a04742ddacdc76dfa311816e1ed9f68 (patch) | |
tree | c29e5b9867a54e80baf83505f9c353f96e453017 /src/network/networkd-link.h | |
parent | fcf50cff129c1b0c6c415428e659da40c3053e6e (diff) |
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.
Diffstat (limited to 'src/network/networkd-link.h')
-rw-r--r-- | src/network/networkd-link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h index a94bb2f714..90ad08a306 100644 --- a/src/network/networkd-link.h +++ b/src/network/networkd-link.h @@ -84,6 +84,7 @@ struct Link { unsigned enslaving; Set *addresses; + Set *addresses_foreign; sd_dhcp_client *dhcp_client; sd_dhcp_lease *dhcp_lease; |