summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 1bfa78d..edbd7f7 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -644,8 +644,9 @@ EOD;
/* in some cases where include ordering is suspect these variables
are somehow 0 and we enter this loop forever and timeout after 900
seconds wrecking bootup */
- if($keylen !=0 and $key_hi != 0 and $key_step !=0) {
+ if($key_hi != 0 and $key_lo !=0 and $key_step !=0) {
for ($keylen = $key_hi; $keylen >= $key_lo; $keylen -= $key_step) {
+ echo "$keylen = $key_hi; $keylen >= $key_lo; $keylen -= $key_step \n";
if ($ealgos)
$ealgos = $ealgos.", ";
$ealgos = $ealgos.$ealg_id." ".$keylen;
OpenPOWER on IntegriCloud