summaryrefslogtreecommitdiffstats
path: root/if.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 /if.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 'if.c')
-rw-r--r--if.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/if.c b/if.c
index 201cc48c..46857b02 100644
--- a/if.c
+++ b/if.c
@@ -67,6 +67,7 @@
#include "if.h"
#include "if-options.h"
#include "ipv4.h"
+#include "ipv4ll.h"
#include "ipv6nd.h"
#ifdef __QNX__
@@ -80,8 +81,9 @@ if_free(struct interface *ifp)
if (ifp == NULL)
return;
- ipv4_free(ifp);
+ ipv4ll_free(ifp);
dhcp_free(ifp);
+ ipv4_free(ifp);
dhcp6_free(ifp);
ipv6nd_free(ifp);
ipv6_free(ifp);