diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-03-16 13:08:01 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-03-16 13:08:01 +0000 |
commit | 63017a732e0e4f1c3459106a5ac24abfea074877 (patch) | |
tree | 62d247d9032b8a71c76a8db40433e1b34c016f3f /usr | |
parent | 0b6ab3ec67c60e1c3dc51822bec8d796e21c3abf (diff) | |
download | pfsense-63017a732e0e4f1c3459106a5ac24abfea074877.zip pfsense-63017a732e0e4f1c3459106a5ac24abfea074877.tar.gz |
Ticket #430. Give a none option to allow for roadwarriors configs.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/vpn_ipsec_phase2.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/vpn_ipsec_phase2.php b/usr/local/www/vpn_ipsec_phase2.php index a1eb068..0058f4d 100644 --- a/usr/local/www/vpn_ipsec_phase2.php +++ b/usr/local/www/vpn_ipsec_phase2.php @@ -237,6 +237,10 @@ function typesel_change_local(bits) { document.iform.localid_netbits.value = bits; document.iform.localid_netbits.disabled = 0; break; + case 3: /* none */ + document.iform.localid_address.disabled = 1; + document.iform.localid_netbits.disabled = 1; + break; default: document.iform.localid_address.value = ""; document.iform.localid_address.disabled = 1; @@ -356,6 +360,7 @@ function change_protocol() { <option value="address" <?php if ($pconfig['localid_type'] == "address") echo "selected";?>>Address</option> <option value="network" <?php if ($pconfig['localid_type'] == "network") echo "selected";?>>Network</option> <option value="lan" <?php if ($pconfig['localid_type'] == "lan" ) echo "selected";?>>LAN subnet</option> + <option value="none" <?php if ($pconfig['localid_type'] == "none" ) echo "selected";?>>None</option> </select> </td> </tr> |