diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-04 03:42:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-04 03:42:49 +0000 |
commit | 9f8018c2fbb74df4d9198d1fa8ed2e315f4e09dc (patch) | |
tree | 833b02d76c778be75b398e80d48c713525ae8074 | |
parent | 649283ef56c86ee562b2f5a91e1947a1a97e77c6 (diff) | |
download | pfsense-9f8018c2fbb74df4d9198d1fa8ed2e315f4e09dc.zip pfsense-9f8018c2fbb74df4d9198d1fa8ed2e315f4e09dc.tar.gz |
Add back commented out auto establish item
-rwxr-xr-x | usr/local/www/vpn_ipsec_edit.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/vpn_ipsec_edit.php b/usr/local/www/vpn_ipsec_edit.php index f505771..d04f34f 100755 --- a/usr/local/www/vpn_ipsec_edit.php +++ b/usr/local/www/vpn_ipsec_edit.php @@ -44,7 +44,7 @@ if (isset($_POST['id'])) if (isset($id) && $a_ipsec[$id]) { $pconfig['disabled'] = isset($a_ipsec[$id]['disabled']); - //$pconfig['auto'] = isset($a_ipsec[$id]['auto']); + $pconfig['auto'] = isset($a_ipsec[$id]['auto']); if (!isset($a_ipsec[$id]['local-subnet'])) $pconfig['localnet'] = "lan"; @@ -175,7 +175,7 @@ if ($_POST) { if (!$input_errors) { $ipsecent['disabled'] = $_POST['disabled'] ? true : false; - //$ipsecent['auto'] = $_POST['auto'] ? true : false; + $ipsecent['auto'] = $_POST['auto'] ? true : false; $ipsecent['interface'] = $pconfig['interface']; pconfig_to_address($ipsecent['local-subnet'], $_POST['localnet'], $_POST['localnetmask']); $ipsecent['remote-subnet'] = $_POST['remotenet'] . "/" . $_POST['remotebits']; @@ -290,13 +290,13 @@ function methodsel_change() { <span class="vexpl">Set this option to disable this tunnel without removing it from the list.</span></td> </tr> - <!-- <tr> + <tr> <td width="22%" valign="top" class="vncellreq">Auto-establish</td> <td width="78%" class="vtable"> <input name="auto" type="checkbox" id="auto" value="yes" <?php if ($pconfig['auto']) echo "checked"; ?>> <strong>Automatically establish this tunnel</strong><br> <span class="vexpl">Set this option to automatically re-establish this tunnel after reboots/reconfigures. If this is not set, the tunnel is established on demand.</span></td> - </tr> --> + </tr> <tr> <td width="22%" valign="top" class="vncellreq">Interface</td> <td width="78%" class="vtable"><select name="interface" class="formfld"> |