]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Final fix for prior
authorRoy Marples <roy@marples.name>
Fri, 4 Oct 2024 16:35:09 +0000 (17:35 +0100)
committerRoy Marples <roy@marples.name>
Fri, 4 Oct 2024 16:35:09 +0000 (17:35 +0100)
src/ipv4ll.c

index bb73c0dd3e8aca0d7ded0493affed9c0531fef3e..512a504c9707a19397c233eb7aeae194c341de97 100644 (file)
@@ -218,9 +218,6 @@ ipv4ll_not_found(struct interface *ifp)
 {
        struct ipv4ll_state *state;
        struct ipv4_addr *ia;
-#ifndef KERNEL_RFC5227
-       struct arp_state *astate;
-#endif
 
        state = IPV4LL_STATE(ifp);
        ia = ipv4_iffindaddr(ifp, &state->pickedaddr, &inaddr_llmask);
@@ -264,9 +261,6 @@ ipv4ll_not_found(struct interface *ifp)
        }
        rt_build(ifp->ctx, AF_INET);
 
-#ifndef KERNEL_RFC5227
-       state->arp->announced_cb = ipv4ll_announced_arp;
-#endif
        script_runreason(ifp, "IPV4LL");
        dhcpcd_daemonise(ifp->ctx);
 }