diff options
author | Kozlov Dmitry <dima@server> | 2011-08-24 16:21:21 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2011-08-24 16:21:21 +0400 |
commit | fd88c1f5973cba63c3b001d02d2c668344c75736 (patch) | |
tree | 7c06202605ea0ba2cca14f50d4dd8f7f102f377e /accel-pppd/ppp/ppp_ipv6cp.c | |
parent | ddf521bb0f46c589d18d25bbecabd986ee521182 (diff) | |
download | accel-ppp-fd88c1f5973cba63c3b001d02d2c668344c75736.tar.gz accel-ppp-fd88c1f5973cba63c3b001d02d2c668344c75736.zip |
ppp: make ipcp/ipv6cp passive if ipv4/ipv6=deny
Diffstat (limited to 'accel-pppd/ppp/ppp_ipv6cp.c')
-rw-r--r-- | accel-pppd/ppp/ppp_ipv6cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ppp_ipv6cp.c b/accel-pppd/ppp/ppp_ipv6cp.c index 4ad1cfb..371efcb 100644 --- a/accel-pppd/ppp/ppp_ipv6cp.c +++ b/accel-pppd/ppp/ppp_ipv6cp.c @@ -105,7 +105,7 @@ static struct ppp_layer_data_t *ipv6cp_layer_init(struct ppp_t *ppp) INIT_LIST_HEAD(&ipv6cp->options); INIT_LIST_HEAD(&ipv6cp->ropt_list); - ipv6cp->ld.passive = conf_ipv6 == IPV6_ALLOW; + ipv6cp->ld.passive = conf_ipv6 == IPV6_ALLOW || conf_ipv6 == IPV6_DENY; return &ipv6cp->ld; } |