From: Roy Marples Date: Thu, 25 Jun 2015 15:39:04 +0000 (+0000) Subject: Correct address test, thanks to Michał Kępień. X-Git-Tag: v6.9.1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bd6b3528810cfb70ad1f76cb5733feb78293596;p=thirdparty%2Fdhcpcd.git Correct address test, thanks to Michał Kępień. Partial fix for [0bd01a312d]. --- diff --git a/ipv6.c b/ipv6.c index 2db5816c..73ccb881 100644 --- a/ipv6.c +++ b/ipv6.c @@ -749,7 +749,7 @@ int ipv6_publicaddr(const struct ipv6_addr *ia) { return (ia->prefix_pltime && - (ia->addr.s6_addr[0] & 0xfe) != 0xc && + (ia->addr.s6_addr[0] & 0xfe) != 0xfc && !(ia->addr_flags & IN6_IFF_NOTUSEABLE)); }