diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2013-01-24 23:53:53 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-01-24 23:53:53 +0400 |
commit | 1845b7ce4ea0c717401936ba8157c90f431d7932 (patch) | |
tree | 0920a94a42d87a141d100a75ed10600736e727e4 /accel-pppd/ppp/ppp.c | |
parent | 4c7ad9a5f8839d2e13c6f012c7cd3653e04b98b7 (diff) | |
download | accel-ppp-1845b7ce4ea0c717401936ba8157c90f431d7932.tar.gz accel-ppp-1845b7ce4ea0c717401936ba8157c90f431d7932.zip |
generalize single-session checking
Diffstat (limited to 'accel-pppd/ppp/ppp.c')
-rw-r--r-- | accel-pppd/ppp/ppp.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/accel-pppd/ppp/ppp.c b/accel-pppd/ppp/ppp.c index 116e134..fee9334 100644 --- a/accel-pppd/ppp/ppp.c +++ b/accel-pppd/ppp/ppp.c @@ -28,7 +28,6 @@ #include "memdebug.h" int __export conf_ppp_verbose; -int conf_single_session = -1; int conf_unit_cache = 0; static mempool_t buf_pool; @@ -599,15 +598,6 @@ static void load_config(void) if (opt && atoi(opt) > 0) conf_ppp_verbose = 1; - opt = conf_get_opt("ppp", "single-session"); - if (opt) { - if (!strcmp(opt, "deny")) - conf_single_session = 0; - else if (!strcmp(opt, "replace")) - conf_single_session = 1; - } else - conf_single_session = -1; - opt = conf_get_opt("ppp", "unit-cache"); if (opt && atoi(opt) > 0) conf_unit_cache = atoi(opt); |