Correctly clear CER
authorSteven Barth <steven@midlink.org>
Tue, 1 Apr 2014 10:07:28 +0000 (12:07 +0200)
committerSteven Barth <steven@midlink.org>
Tue, 1 Apr 2014 10:07:28 +0000 (12:07 +0200)
src/dhcpv6.c

index e501d77..5007c24 100644 (file)
@@ -914,6 +914,7 @@ static int dhcpv6_handle_reply(enum dhcpv6_msg orig, _unused const int rc,
                odhcp6c_clear_state(STATE_SIP_IP);
                odhcp6c_clear_state(STATE_SIP_FQDN);
                odhcp6c_clear_state(STATE_AFTR_NAME);
+               odhcp6c_clear_state(STATE_CER);
        }
 
        // Parse and find all matching IAs