]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile without -DINET6
authorRoy Marples <roy@marples.name>
Sun, 14 Sep 2014 06:53:13 +0000 (06:53 +0000)
committerRoy Marples <roy@marples.name>
Sun, 14 Sep 2014 06:53:13 +0000 (06:53 +0000)
dhcp6.h
ipv6nd.h

diff --git a/dhcp6.h b/dhcp6.h
index 7aad1b7c1759e715bc7e43db6e9bb03068a19b56..e82a9c4b07da6d4902e35e39603034cbeee5a26f 100644 (file)
--- a/dhcp6.h
+++ b/dhcp6.h
@@ -250,8 +250,9 @@ int dhcp6_dump(struct interface *);
 #define dhcp6_reboot(a)
 #define dhcp6_env(a, b, c, d, e)
 #define dhcp6_free(a)
+#define dhcp6_dadcompleted(a) (0)
 #define dhcp6_drop(a, b)
-#define dhcp6_dump(a) -1
+#define dhcp6_dump(a) (-1)
 #endif
 
 #endif
index 688710d59ac7688b8bc0393415f7c18d7ffb0117..a2dc196f56508ed3eea94a09293e71918513e993 100644 (file)
--- a/ipv6nd.h
+++ b/ipv6nd.h
@@ -106,6 +106,7 @@ void ipv6nd_neighbour(struct dhcpcd_ctx *, struct in6_addr *, int);
 #define ipv6nd_addrexists(a, b) (0)
 #define ipv6nd_free(a)
 #define ipv6nd_hasra(a) (0)
+#define ipv6nd_dadcompleted(a) (0)
 #define ipv6nd_drop(a)
 #endif