summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2015-06-12 19:21:32 +0000
committerRoy Marples <roy@marples.name>2015-06-12 19:21:32 +0000
commitaccc0bb8716dd3c381d706a95076bcc69a64a17c (patch)
treea2aa5827dadee422a4cf6c3f18ce23d07ab2c9bc /dhcpcd.c
parent32897869f1afd4bd2c6d943ee65d21492856048b (diff)
downloaddhcpcd-accc0bb8716dd3c381d706a95076bcc69a64a17c.tar.xz
Stop making IPv4LL into a DHCP lease and treat it independantly from any
DHCP lease. This allows us to manage IPv4LL and DHCP at the same time a lot easier.
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index 94a42433..e68ed105 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -61,6 +61,7 @@ const char dhcpcd_copyright[] = "Copyright (c) 2006-2015 Roy Marples";
#include "if.h"
#include "if-options.h"
#include "ipv4.h"
+#include "ipv4ll.h"
#include "ipv6.h"
#include "ipv6nd.h"
#include "script.h"
@@ -380,6 +381,7 @@ dhcpcd_drop(struct interface *ifp, int stop)
dhcp6_drop(ifp, stop ? NULL : "EXPIRE6");
ipv6nd_drop(ifp);
ipv6_drop(ifp);
+ ipv4ll_drop(ifp);
dhcp_drop(ifp, stop ? "STOP" : "EXPIRE");
arp_close(ifp);
}