diff options
author | Tom Gundersen <teg@jklm.no> | 2015-11-16 16:47:18 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-11-17 13:26:46 +0100 |
commit | 62379e884e8a30cabbad994095c76e2f44b8f425 (patch) | |
tree | 48e04258a1a980091b073a9c9e47f17883bbd06a /src/network/networkd-dhcp6.c | |
parent | 63348d13fae61fefcb29133bfae8371b33cf4b6d (diff) |
networkd: ndisc - always configure dhcp6 client
The ndisc client may trigger the dhcpv6 client to be started (this is the common case),
so we should allocate the dhcpv6 client whenever we allocate the ndisc one.
Diffstat (limited to 'src/network/networkd-dhcp6.c')
-rw-r--r-- | src/network/networkd-dhcp6.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c index f83ff54369..e67e51f7ef 100644 --- a/src/network/networkd-dhcp6.c +++ b/src/network/networkd-dhcp6.c @@ -211,6 +211,9 @@ int dhcp6_configure(Link *link) { assert(link); + if (link->dhcp6_client) + return 0; + r = sd_dhcp6_client_new(&client); if (r < 0) return r; |