diff options
author | Steven Barth <steven@midlink.org> | 2015-04-20 19:29:24 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-04-20 19:29:24 +0200 |
commit | 461c4fb8fbe39fc480111ea0e7891bee9138c4d0 (patch) | |
tree | b8f7884a047269aabcfee34e49476ee131157aeb /src | |
parent | c6e1e5f0f977d5e921fa5a6e34a3299019e4fc8a (diff) |
dhcpv6: don't initialize IA-handing when turning down interface
Diffstat (limited to 'src')
-rw-r--r-- | src/dhcpv6-ia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index 132efdb..69fda07 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -74,7 +74,7 @@ int setup_dhcpv6_ia_interface(struct interface *iface, bool enable) } } - if (iface->dhcpv6 == RELAYD_SERVER) { + if (enable && iface->dhcpv6 == RELAYD_SERVER) { if (!iface->ia_assignments.next) INIT_LIST_HEAD(&iface->ia_assignments); |