From: Roy Marples Date: Mon, 1 Apr 2013 12:24:39 +0000 (+0000) Subject: Fix IA X-Git-Tag: v5.99.6~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a48406b38a24fc1bed9edc90073867929639562;p=thirdparty%2Fdhcpcd.git Fix IA --- diff --git a/dhcp6.c b/dhcp6.c index 5d0df8e9..32ce216b 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -1131,7 +1131,7 @@ dhcp6_findia(struct interface *ifp, const uint8_t *d, size_t l, memcpy(iaid, p, sizeof(iaid)); p += sizeof(iaid); ol -= sizeof(iaid); - if (ifo->ia_type == D6_OPTION_IA_NA) { + if (ifo->ia_type != D6_OPTION_IA_TA) { memcpy(&u32, p, sizeof(u32)); renew = ntohl(u32); p += sizeof(u32);