|
@@ -1671,7 +1671,7 @@ void addrconf_leave_solict(struct inet6_dev *idev, const struct in6_addr *addr)
|
|
|
static void addrconf_join_anycast(struct inet6_ifaddr *ifp)
|
|
|
{
|
|
|
struct in6_addr addr;
|
|
|
- if (ifp->prefix_len == 127) /* RFC 6164 */
|
|
|
+ if (ifp->prefix_len >= 127) /* RFC 6164 */
|
|
|
return;
|
|
|
ipv6_addr_prefix(&addr, &ifp->addr, ifp->prefix_len);
|
|
|
if (ipv6_addr_any(&addr))
|
|
@@ -1682,7 +1682,7 @@ static void addrconf_join_anycast(struct inet6_ifaddr *ifp)
|
|
|
static void addrconf_leave_anycast(struct inet6_ifaddr *ifp)
|
|
|
{
|
|
|
struct in6_addr addr;
|
|
|
- if (ifp->prefix_len == 127) /* RFC 6164 */
|
|
|
+ if (ifp->prefix_len >= 127) /* RFC 6164 */
|
|
|
return;
|
|
|
ipv6_addr_prefix(&addr, &ifp->addr, ifp->prefix_len);
|
|
|
if (ipv6_addr_any(&addr))
|