From: Roy Marples Date: Wed, 2 Jul 2014 13:24:55 +0000 (+0000) Subject: Fix compile. X-Git-Tag: v6.4.1~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa3796038290164d98103ccc199b43e07fe850a3;p=thirdparty%2Fdhcpcd.git Fix compile. --- diff --git a/if-bsd.c b/if-bsd.c index a0b82f12..ca2eb8c8 100644 --- a/if-bsd.c +++ b/if-bsd.c @@ -1123,7 +1123,7 @@ if_checkipv6(struct dhcpcd_ctx *ctx, const char *ifname, int own) return ra; } #ifdef ND6_IFF_OVERRIDE_RTADV - if (override == 0 && ctx->ra_kernel_set == 0 && + if (override == 0 && set_if_nd6_flag(ifname, ND6_IFF_OVERRIDE_RTADV) == -1) {