From 5d6dde8af7288b2b7f4c34679ac027865d16ae0a Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Mon, 26 Oct 2015 00:23:37 -0500 Subject: Use 1-6 rather than 0-5 for IPsec logging levels, to stay away from complications of 0 due to PHP stupidity. Upgrade config to add 1 to any configured log levels. Default to 1 as log level where none is configured by the user. Ticket #5340 --- usr/local/www/vpn_ipsec_settings.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php index fc76fef..26e9005 100644 --- a/usr/local/www/vpn_ipsec_settings.php +++ b/usr/local/www/vpn_ipsec_settings.php @@ -294,8 +294,14 @@ function maxmss_checked(obj) { \n"; foreach (array("Silent", "Audit", "Control", "Diag", "Raw", "Highest") as $lidx => $lvalue) { - echo "\n"; } -- cgit v1.1