X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdhcpv6.c;h=9cb55adc28b935de24d254e8014481558c6ba183;hb=dd5f1f8ca0a24d23dc426d6e89d9855a7b97fcec;hp=4dcf8e44fad43388ba69caaf7f6f558db2274205;hpb=ee149f5fe141ca6c34d562e26ab7300a644ee7b0;p=odhcp6c.git diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 4dcf8e4..9cb55ad 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -772,10 +772,6 @@ static time_t dhcpv6_parse_ia(void *opt, void *end) if (timeout > valid) timeout = valid; - - if (prefix->valid == 0) // We probably lost that prefix - odhcp6c_add_state(STATE_IA_PD_LOST, - prefix, olen); } else if (otype == DHCPV6_OPT_IA_ADDR) { struct dhcpv6_ia_addr *addr = (void*)&odata[-4]; if (olen + 4U < sizeof(*addr))