diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-07-18 12:13:43 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-07-18 12:13:43 +0400 |
commit | cddc20689a17a1b30d491cd2021f911a669f6dbc (patch) | |
tree | 36a1bfab828689f5f2e393b78d33c04098bd3884 /accel-pppd/ipv6 | |
parent | c6a2a1e18fff35738fac68ffc1e745576bb40a70 (diff) | |
download | accel-ppp-cddc20689a17a1b30d491cd2021f911a669f6dbc.tar.gz accel-ppp-cddc20689a17a1b30d491cd2021f911a669f6dbc.zip |
ipv6: add support for prefixes greater than 64
Diffstat (limited to 'accel-pppd/ipv6')
-rw-r--r-- | accel-pppd/ipv6/nd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |