diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-06-26 20:49:54 +0200 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-06-29 15:01:08 +0400 |
commit | cafc6f2c69d908f7b534fa3792029d3704b2fe88 (patch) | |
tree | b5f7b8cd8b7bcbd59239ddbed5702065c145da7a /accel-pppd | |
parent | 97f48a155a49e370a5db25dcdbb61dfb6b084382 (diff) | |
download | accel-ppp-cafc6f2c69d908f7b534fa3792029d3704b2fe88.tar.gz accel-ppp-cafc6f2c69d908f7b534fa3792029d3704b2fe88.zip |
pppoe: Fix mppe option section
Read the 'mppe' option value in section 'pppoe' instead of 'l2tp'.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/ctrl/pppoe/pppoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c index b01369dc..21051ed3 100644 --- a/accel-pppd/ctrl/pppoe/pppoe.c +++ b/accel-pppd/ctrl/pppoe/pppoe.c @@ -1478,7 +1478,7 @@ static void load_config(void) conf_padi_limit = atoi(opt); conf_mppe = MPPE_UNSET; - opt = conf_get_opt("l2tp", "mppe"); + opt = conf_get_opt("pppoe", "mppe"); if (opt) { if (strcmp(opt, "deny") == 0) conf_mppe = MPPE_DENY; |