diff options
Diffstat (limited to 'accel-pppd/ctrl/l2tp/l2tp.c')
-rw-r--r-- | accel-pppd/ctrl/l2tp/l2tp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c index 531fab2..ee28598 100644 --- a/accel-pppd/ctrl/l2tp/l2tp.c +++ b/accel-pppd/ctrl/l2tp/l2tp.c @@ -3976,6 +3976,9 @@ static void load_config(void) if (opt) { conf_secret = opt; conf_secret_len = strlen(opt); + } else { + conf_secret = NULL; + conf_secret_len = 0; } opt = conf_get_opt("l2tp", "dir300_quirk"); |