From 9c64abfa9c27714e79c2fc00a54bab47bb9b518c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 23 Apr 2014 11:41:01 +0000 Subject: [PATCH] Fix compile on OpenBSD --- platform-bsd.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.47.3