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 e501d77a542827eab7410db4475b79e6cec7cd7d..5007c24b7ba7ca427b9d5bdae9b915819ca42e28 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