summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/vpn_ipsec_phase1.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php
index b9079e1..11a2e90 100644
--- a/usr/local/www/vpn_ipsec_phase1.php
+++ b/usr/local/www/vpn_ipsec_phase1.php
@@ -529,7 +529,9 @@ function peeridsel_change() {
value = document.iform.peerid_type.options[index].value;
if (value == 'peeraddress') {
document.getElementById('peerid_data').style.visibility = 'hidden';
- } else {
+ } else if (value == 'any') {
+ document.getElementById('peerid_data').style.visibility = 'hidden';
+ } else {
document.getElementById('peerid_data').style.visibility = 'visible';
}
}
OpenPOWER on IntegriCloud