From: Roy Marples Date: Mon, 24 Jun 2024 11:01:36 +0000 (+0100) Subject: Fix prior patch which might also fix #333 X-Git-Tag: v10.0.9~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=612dec0bc07bfbe30d53cb8f7d6c1159bab2b724;p=thirdparty%2Fdhcpcd.git Fix prior patch which might also fix #333 --- diff --git a/src/ipv6.c b/src/ipv6.c index 9fea96b2..01734f65 100644 --- a/src/ipv6.c +++ b/src/ipv6.c @@ -1216,6 +1216,7 @@ ipv6_handleifa(struct dhcpcd_ctx *ctx, /* We'll free it at the end of the function. */ } break; + case RTM_NEWADDR: if (ia == NULL) { ia = ipv6_newaddr(ifp, addr, prefix_len, 0); @@ -1263,8 +1264,10 @@ ipv6_handleifa(struct dhcpcd_ctx *ctx, ia->iface->ctx->eloop, RETRANS_TIMER / 2, ipv6_checkaddrflags, ia); } - break; #endif + + break; + default: return; }