]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix building without INET or INET6.
authorRoy Marples <roy@marples.name>
Fri, 15 May 2015 15:23:42 +0000 (15:23 +0000)
committerRoy Marples <roy@marples.name>
Fri, 15 May 2015 15:23:42 +0000 (15:23 +0000)
ipv4.h
ipv6.h
ipv6nd.h

diff --git a/ipv4.h b/ipv4.h
index f6d5d98264daa08d70c9d95998b32d55b72fc298..08b1c213b36fed20c672ae0e1191de03830b5d47 100644 (file)
--- a/ipv4.h
+++ b/ipv4.h
@@ -108,7 +108,7 @@ void ipv4_ctxfree(struct dhcpcd_ctx *);
 #define ipv4_freeroutes(a) {}
 #define ipv4_free(a) {}
 #define ipv4_ctxfree(a) {}
-#define ipv4_addrexists(a, b) (0)
+#define ipv4_ifaddrexists(a) (0)
 #endif
 
 #endif
diff --git a/ipv6.h b/ipv6.h
index 83710c47fbdfc4104d2ea0c2de873740b4a1f311..7fedd11129228225eb51009fb607bf52cdd30d0c 100644 (file)
--- a/ipv6.h
+++ b/ipv6.h
@@ -279,6 +279,7 @@ void ipv6_buildroutes(struct dhcpcd_ctx *);
 #else
 #define ipv6_init(a) (NULL)
 #define ipv6_start(a) (-1)
+#define ipv6_iffindaddr(a, b) (NULL)
 #define ipv6_free_ll_callbacks(a) {}
 #define ipv6_free(a) {}
 #define ipv6_drop(a) {}
index 4124b3b2c50289a2764e51a7a7622b140a7120ac..a8e20544aba6eca9b0d59aa43052b1806f56a661 100644 (file)
--- a/ipv6nd.h
+++ b/ipv6nd.h
@@ -117,7 +117,6 @@ void ipv6nd_drop(struct interface *);
 void ipv6nd_neighbour(struct dhcpcd_ctx *, struct in6_addr *, int);
 #else
 #define ipv6nd_startrs(a) {}
-#define ipv6nd_findaddr(a, b, c) (0)
 #define ipv6nd_free(a) {}
 #define ipv6nd_hasra(a) (0)
 #define ipv6nd_dadcompleted(a) (0)