summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-11-17 15:59:46 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2015-11-17 15:59:46 +0100
commit0b3209b531d444afb7ae8a4081894f726b68fb11 (patch)
tree3c2d5979757f64797995589e64a11ac86f06f496
parent233f353a2201e58d3861390be579f87097f05eb3 (diff)
parent962b0647298b601548b049893931d2477f06ab57 (diff)
Merge pull request #1932 from teg/networkd-ndisc-timeout
networkd: ndisc timeout
-rw-r--r--src/network/networkd-ndisc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c
index 126f9c0fe9..2ff87c32eb 100644
--- a/src/network/networkd-ndisc.c
+++ b/src/network/networkd-ndisc.c
@@ -207,6 +207,10 @@ static void ndisc_handler(sd_ndisc *nd, int event, void *userdata) {
r = sd_dhcp6_client_start(link->dhcp6_client);
if (r < 0 && r != -EALREADY)
log_link_warning_errno(link, r, "Starting DHCPv6 client after NDisc timeout failed: %m");
+
+ link->ndisc_configured = true;
+ link_check_ready(link);
+
break;
case SD_NDISC_EVENT_STOP:
break;