]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix my dumb mistake with the compile fixes which caused dhcpcd to
authorRoy Marples <roy@marples.name>
Fri, 15 Jun 2018 08:10:55 +0000 (09:10 +0100)
committerRoy Marples <roy@marples.name>
Fri, 15 Jun 2018 08:10:55 +0000 (09:10 +0100)
ignore carrier loss on IPv4 addresses.

src/dhcpcd.c

index d63fa0c216940749250942e0357069789efa1533..c572c1370f4b83ae49de5f5107ca799c5e714ea3 100644 (file)
@@ -373,7 +373,7 @@ dhcpcd_drop(struct interface *ifp, int stop)
 #ifdef IPV4LL
        ipv4ll_drop(ifp);
 #endif
-#ifdef DHCP
+#ifdef INET
        dhcp_drop(ifp, stop ? "STOP" : "EXPIRE");
 #endif
 #ifdef ARP