diff options
author | Tom Gundersen <teg@jklm.no> | 2015-09-28 13:38:43 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-10-21 02:35:31 +0200 |
commit | 8012cd391932d58b44332df106d426a360faf0a6 (patch) | |
tree | 68dc497a0bc69291e7794b1d70a82196e5b7c8d8 /src/network/networkd-manager.c | |
parent | bf3ee9cdc9c7489e442e43cec09ad9275739875a (diff) |
networkd: link - only consider configured when all addresses are ready
We were considering a link configured whilst its IPv6 addresses were still
tentative.
Fixes issue #650.
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r-- | src/network/networkd-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index 07e47b668c..2cd4f4fef7 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -404,6 +404,7 @@ int manager_rtnl_process_address(sd_netlink *rtnl, sd_netlink_message *message, address->flags = flags; address->cinfo = cinfo; + link_check_ready(link); } else { r = address_add(link, family, &in_addr, prefixlen, &address); if (r < 0) { @@ -416,7 +417,7 @@ int manager_rtnl_process_address(sd_netlink *rtnl, sd_netlink_message *message, address->flags = flags; address->cinfo = cinfo; - link_save(link); + link_check_ready(link); } break; |