From 156938a87e536e528ecbc0ccd5e2f42bfdb0eb0a Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Mon, 12 Jan 2015 19:25:15 -0600 Subject: [PATCH] Where the P1 is disabled, show the P2s as disabled since they will be, same as in previous versions. --- usr/local/www/vpn_ipsec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index f37fe21b2a..6ca6d32b87 100644 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -460,7 +460,7 @@ include("head.inc"); $iconfn = "pass"; $spans = $spane = ""; - if (isset($ph2ent['disabled'])) { + if (isset($ph2ent['disabled']) || isset($ph1ent['disabled'])) { $spans = ""; $spane = ""; $iconfn .= "_d";