summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@mail.ru>2020-05-21 19:31:49 +0500
committerVladislav Grishenko <themiron@mail.ru>2020-05-21 19:33:10 +0500
commit34ecca0632013d8263fa55879ae40bf048381a15 (patch)
treec77de65ef8220a9be4502dedc30f9d41c6e2affa
parent90778881d9aba076344412b7769e103f36541273 (diff)
downloadaccel-ppp-34ecca0632013d8263fa55879ae40bf048381a15.tar.gz
accel-ppp-34ecca0632013d8263fa55879ae40bf048381a15.zip
ipv6pool: fix delegated pool ignorance w/o address pool
-rw-r--r--accel-pppd/extra/ipv6pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/extra/ipv6pool.c b/accel-pppd/extra/ipv6pool.c
index a2cf30df..24ea3736 100644
--- a/accel-pppd/extra/ipv6pool.c
+++ b/accel-pppd/extra/ipv6pool.c
@@ -301,7 +301,7 @@ static struct ipv6db_prefix_t *get_dp(struct ap_session *ses)
struct dppool_item_t *it;
struct ippool_t *pool;
- if (ses->ipv6_pool_name)
+ if (ses->dpv6_pool_name)
pool = find_pool(IPPOOL_PREFIX, ses->dpv6_pool_name, 0);
else
pool = def_dppool;