summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-06-15 09:10:55 +0100
committerRoy Marples <roy@marples.name>2018-06-15 09:10:55 +0100
commit715f2a8310e5d995ed411913ba1ed64c8686c8c9 (patch)
tree6c5d602abde43701816654b636fbd364b4dcc0fd
parent239b962fadd5a8939963a7eb2863625f3abdc6f8 (diff)
downloaddhcpcd-715f2a8310e5d995ed411913ba1ed64c8686c8c9.tar.xz
Fix my dumb mistake with the compile fixes which caused dhcpcd to
ignore carrier loss on IPv4 addresses.
-rw-r--r--src/dhcpcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c
index d63fa0c2..c572c137 100644
--- a/src/dhcpcd.c
+++ b/src/dhcpcd.c
@@ -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