From cddc20689a17a1b30d491cd2021f911a669f6dbc Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Fri, 18 Jul 2014 12:13:43 +0400 Subject: ipv6: add support for prefixes greater than 64 --- accel-pppd/ipv6/nd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pppd/ipv6') diff --git a/accel-pppd/ipv6/nd.c b/accel-pppd/ipv6/nd.c index 02e372c0..67a4a0ff 100644 --- a/accel-pppd/ipv6/nd.c +++ b/accel-pppd/ipv6/nd.c @@ -127,7 +127,7 @@ static void ipv6_nd_send_ra(struct ipv6_nd_handler_t *h, struct sockaddr_in6 *ad pinfo = (struct nd_opt_prefix_info *)(adv + 1); list_for_each_entry(a, &h->ses->ipv6->addr_list, entry) { - if (a->prefix_len > 64) + if (a->prefix_len != 64) continue; memset(pinfo, 0, sizeof(*pinfo)); -- cgit v1.2.3