]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile for builds without ARP
authorRoy Marples <roy@marples.name>
Fri, 24 May 2024 15:54:24 +0000 (15:54 +0000)
committerRoy Marples <roy@marples.name>
Fri, 24 May 2024 15:54:40 +0000 (15:54 +0000)
src/dhcpcd.c

index ccc8fbcf99d8b3242209d0d2c831ce8785f57986..a94dbdacc9bae5290bffce7e2fb4455010b8be29 100644 (file)
@@ -423,8 +423,8 @@ dhcpcd_drop_af(struct interface *ifp, int stop, int af)
 #endif
 #ifdef ARP
                arp_drop(ifp);
-       }
 #endif
+       }
 
 #if !defined(DHCP6) && !defined(DHCP)
        UNUSED(stop);