]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix prior patch which might also fix #333
authorRoy Marples <roy@marples.name>
Mon, 24 Jun 2024 11:01:36 +0000 (12:01 +0100)
committerRoy Marples <roy@marples.name>
Mon, 24 Jun 2024 11:01:36 +0000 (12:01 +0100)
src/ipv6.c

index 9fea96b2c01886a82c22fb19eae8cfcd9a4860ed..01734f657606d752670baf28e6a4df27d7922dbd 100644 (file)
@@ -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;
        }