diff options
author | Kozlov Dmitry <dima@server> | 2011-08-23 13:32:05 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2011-08-23 13:32:05 +0400 |
commit | e281cbf20eb2e8f36ef5037e138fdf3798f1897d (patch) | |
tree | 983fb590fff7c2098393a3bb2627e73300e6a490 /accel-pppd/extra | |
parent | a1e212b0a8f1968806889e455c605ac3720060b7 (diff) | |
download | accel-ppp-e281cbf20eb2e8f36ef5037e138fdf3798f1897d.tar.gz accel-ppp-e281cbf20eb2e8f36ef5037e138fdf3798f1897d.zip |
ppp: Neighbor Discovery for IP version 6 (prefix only)
Diffstat (limited to 'accel-pppd/extra')
-rw-r--r-- | accel-pppd/extra/ipv6pool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/extra/ipv6pool.c b/accel-pppd/extra/ipv6pool.c index 37d2ea89..306d5bdd 100644 --- a/accel-pppd/extra/ipv6pool.c +++ b/accel-pppd/extra/ipv6pool.c @@ -47,6 +47,7 @@ static void generate_pool(struct in6_addr *addr, int mask, int prefix_len) for (; ip <= endip; ip += step) { it = malloc(sizeof(*it)); *(uint64_t *)it->it.addr.s6_addr = htobe64(ip); + it->it.prefix_len = prefix_len; list_add_tail(&it->entry, &ippool); } } |