summaryrefslogtreecommitdiff
path: root/src/dhcpv6.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-06-09 14:04:59 +0200
committerSteven Barth <steven@midlink.org>2015-06-09 14:04:59 +0200
commitd21764d12bb799f89d42c94dc20d4adb6d588077 (patch)
tree4da74c6871046a3e7749dc17c33e93101b892d67 /src/dhcpv6.c
parent68042ddafe0e1a3498b6c7a57ec8d2d20f25650b (diff)
downloadodhcp6c-d21764d12bb799f89d42c94dc20d4adb6d588077.tar.gz
dhcpv6: clear CUSTOM_OPTS in a more sane manner
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'src/dhcpv6.c')
-rw-r--r--src/dhcpv6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcpv6.c b/src/dhcpv6.c
index 425aee1..760f235 100644
--- a/src/dhcpv6.c
+++ b/src/dhcpv6.c
@@ -948,6 +948,7 @@ static int dhcpv6_handle_reply(enum dhcpv6_msg orig, _unused const int rc,
odhcp6c_clear_state(STATE_S46_MAPE);
odhcp6c_clear_state(STATE_S46_LW);
odhcp6c_clear_state(STATE_PASSTHRU);
+ odhcp6c_clear_state(STATE_CUSTOM_OPTS);
// Parse and find all matching IAs
dhcpv6_for_each_option(opt, end, otype, olen, odata) {