projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e1e5f
)
dhcpv6: don't initialize IA-handing when turning down interface
author
Steven Barth
<steven@midlink.org>
Mon, 20 Apr 2015 17:29:24 +0000
(19:29 +0200)
committer
Steven Barth
<steven@midlink.org>
Mon, 20 Apr 2015 17:29:24 +0000
(19:29 +0200)
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index 132efdba938a45fc9b647517784808023f0b96a3..69fda0792420c98d9264d1ffa97eff349160e963 100644
(file)
--- 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);