diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2018-10-26 06:34:59 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2018-10-26 06:34:59 +0300 |
commit | 363ac4b5603e0f18d1e1e3e8466a3983b88ce375 (patch) | |
tree | 7e69d867ef8fb381db72fb53e1ff398a0242003a /accel-pppd/extra/chap-secrets.c | |
parent | d0c166d177eb6251cfed52ce646f8f99f004ac09 (diff) | |
parent | 17ff40f36a81dabecfb490b6d1fca70ae94c8c34 (diff) | |
download | accel-ppp-xebd-363ac4b5603e0f18d1e1e3e8466a3983b88ce375.tar.gz accel-ppp-xebd-363ac4b5603e0f18d1e1e3e8466a3983b88ce375.zip |
Merge branch 'master' of https://github.com/xebd/accel-ppp
Diffstat (limited to 'accel-pppd/extra/chap-secrets.c')
-rw-r--r-- | accel-pppd/extra/chap-secrets.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/extra/chap-secrets.c b/accel-pppd/extra/chap-secrets.c index becb687..92cfb42 100644 --- a/accel-pppd/extra/chap-secrets.c +++ b/accel-pppd/extra/chap-secrets.c @@ -24,7 +24,7 @@ static char *def_chap_secrets = "/etc/ppp/chap-secrets"; static char *conf_chap_secrets; static int conf_encrypted; static in_addr_t conf_gw_ip_address = 0; -static int conf_netmask; +static int conf_netmask = 0; static void *pd_key; static struct ipdb_t ipdb; @@ -762,6 +762,7 @@ static void load_config(void) parse_gw_ip_address(opt); else { conf_gw_ip_address = 0; + conf_netmask = 0; } opt = conf_get_opt("chap-secrets", "encrypted"); |