diff options
Diffstat (limited to 'accel-pppd/extra/ipv6pool.c')
-rw-r--r-- | accel-pppd/extra/ipv6pool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/extra/ipv6pool.c b/accel-pppd/extra/ipv6pool.c index 3494a91..c5cabef 100644 --- a/accel-pppd/extra/ipv6pool.c +++ b/accel-pppd/extra/ipv6pool.c @@ -307,6 +307,9 @@ static struct ipv6db_prefix_t *get_dp(struct ap_session *ses) else pool = def_dppool; + if (!pool) + return NULL; + start = pool; do { spin_lock(&pool->lock); |