summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-07-16 17:24:32 -0500
committerChris Buechler <cmb@pfsense.org>2015-07-16 17:24:32 -0500
commita296286b431b54ae66e655553ace17e857332b1f (patch)
tree6c9b1b56567196c865bc1d66691fc5b15b4f9058 /usr
parent0e19c4bba659a5f4d28f9c8b20c80717a90964b9 (diff)
downloadpfsense-a296286b431b54ae66e655553ace17e857332b1f.zip
pfsense-a296286b431b54ae66e655553ace17e857332b1f.tar.gz
Revert "myid_data and peerid_data fields are not relevant with asn1dn."
This reverts commit 0e19c4bba659a5f4d28f9c8b20c80717a90964b9.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/vpn_ipsec_phase1.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php
index 8adea58..2c9006c 100644
--- a/usr/local/www/vpn_ipsec_phase1.php
+++ b/usr/local/www/vpn_ipsec_phase1.php
@@ -503,9 +503,7 @@ function myidsel_change() {
value = document.iform.myid_type.options[index].value;
if (value == 'myaddress') {
document.getElementById('myid_data').style.visibility = 'hidden';
- } else if (value == 'asn1dn') {
- document.getElementById('myid_data').style.visibility = 'hidden';
- } else {
+ } else {
document.getElementById('myid_data').style.visibility = 'visible';
}
}
@@ -531,8 +529,6 @@ function peeridsel_change() {
value = document.iform.peerid_type.options[index].value;
if (value == 'peeraddress') {
document.getElementById('peerid_data').style.visibility = 'hidden';
- } else if (value == 'asn1dn') {
- document.getElementById('peerid_data').style.visibility = 'hidden';
} else {
document.getElementById('peerid_data').style.visibility = 'visible';
}
OpenPOWER on IntegriCloud