]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix build without INET6
authorRoy Marples <roy@marples.name>
Thu, 5 Sep 2013 08:39:38 +0000 (08:39 +0000)
committerRoy Marples <roy@marples.name>
Thu, 5 Sep 2013 08:39:38 +0000 (08:39 +0000)
dhcp6.h
ipv6nd.h

diff --git a/dhcp6.h b/dhcp6.h
index 6c177da459b50747e571b8c5b219a412be126773..8df68a7ccabacd9e7ff88a95e9b199077ab89a61 100644 (file)
--- a/dhcp6.h
+++ b/dhcp6.h
@@ -230,7 +230,7 @@ void dhcp6_handleifa(int, const char *, const struct in6_addr *addr, int);
 void dhcp6_drop(struct interface *, const char *);
 #else
 #define dhcp6_printoptions()
-#define dhcp6_addrexists(a)
+#define dhcp6_addrexists(a) 0
 #define dhcp6_find_delegates(a) 0
 #define dhcp6_start(a, b) 0
 #define dhcp6_reboot(a)
index d2529214bb5df8dd78b8a9d17f1b5104e73b1928..f7ec4a58be09542fda232b16ad41216b16f6d2b7 100644 (file)
--- a/ipv6nd.h
+++ b/ipv6nd.h
@@ -106,6 +106,7 @@ void ipv6nd_cancelprobeaddr(struct ipv6_addr *);
 
 #else
 #define ipv6nd_startrs(a) {}
+#define ipv6nd_addrexists(a) (0)
 #define ipv6nd_free(a)
 #define ipv6nd_has_ra(a) 0
 #define ipv6nd_drop(a)