From: Roy Marples Date: Sun, 14 Sep 2014 06:53:13 +0000 (+0000) Subject: Fix compile without -DINET6 X-Git-Tag: v6.4.4~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a471f5bcd30771c9404997e2c9eff9f3c439c440;p=thirdparty%2Fdhcpcd.git Fix compile without -DINET6 --- diff --git a/dhcp6.h b/dhcp6.h index 7aad1b7c..e82a9c4b 100644 --- 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 diff --git a/ipv6nd.h b/ipv6nd.h index 688710d5..a2dc196f 100644 --- 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