From: Roy Marples Date: Wed, 23 Apr 2014 11:41:01 +0000 (+0000) Subject: Fix compile on OpenBSD X-Git-Tag: v6.4.0~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c64abfa9c27714e79c2fc00a54bab47bb9b518c;p=thirdparty%2Fdhcpcd.git Fix compile on OpenBSD --- diff --git a/platform-bsd.c b/platform-bsd.c index 417729cb..26335f57 100644 --- a/platform-bsd.c +++ b/platform-bsd.c @@ -196,10 +196,12 @@ check_ipv6(struct dhcpcd_ctx *ctx, const char *ifname, int own) } #endif +#ifdef ND6_IFF_IFDISABLED if (del_if_nd6_flag(ifname, ND6_IFF_IFDISABLED) == -1) { syslog(LOG_ERR, "%s: del_if_nd6_flag: %m", ifname); return -1; } +#endif #ifdef ND6_IFF_ACCEPT_RTADV ra = get_if_nd6_flag(ifname, ND6_IFF_ACCEPT_RTADV);