summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-01-12 19:25:15 -0600
committerChris Buechler <cmb@pfsense.org>2015-01-12 19:25:47 -0600
commit156938a87e536e528ecbc0ccd5e2f42bfdb0eb0a (patch)
tree2f5002d88bf8c630c1f40832c7da28a0f91d5cb2 /usr/local/www/vpn_ipsec.php
parentd71f97947553897f8ae6b0bb1f5145f9456f20bc (diff)
downloadpfsense-156938a87e536e528ecbc0ccd5e2f42bfdb0eb0a.zip
pfsense-156938a87e536e528ecbc0ccd5e2f42bfdb0eb0a.tar.gz
Where the P1 is disabled, show the P2s as disabled since they will be, same as in previous versions.
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rw-r--r--usr/local/www/vpn_ipsec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index f37fe21..6ca6d32 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 = "<span class=\"gray\">";
$spane = "</span>";
$iconfn .= "_d";
OpenPOWER on IntegriCloud