From: Roy Marples Date: Mon, 15 Feb 2016 09:44:58 +0000 (+0000) Subject: Fix compile on BSD, [7e6b5d07d5] X-Git-Tag: v6.10.2~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5119f4f3d39237bfc5c3b3b5b1b0c72901fe276c;p=thirdparty%2Fdhcpcd.git Fix compile on BSD, [7e6b5d07d5] --- diff --git a/ipv6nd.c b/ipv6nd.c index 43df4090..3e80509e 100644 --- a/ipv6nd.c +++ b/ipv6nd.c @@ -1007,7 +1007,8 @@ ipv6nd_handlera(struct dhcpcd_ctx *dctx, struct interface *ifp, * temporary address also exists then * extend the existing one rather than * create a new one */ - if (ipv6_iffindaddr(ifp, &ap->addr) && + if (ipv6_iffindaddr(ifp, &ap->addr, + IN6_IFF_NOTUSEABLE) && ipv6_settemptime(ap, 0)) new_ap = 0; else