summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_phase1.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-04-29 15:33:42 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-04-29 15:33:42 -0300
commit9caf5eca2cf066bb293c68aa4de5e86c77eab42a (patch)
tree656ddafbf2cc76586421030ac9fc9678c5f77881 /usr/local/www/vpn_ipsec_phase1.php
parent2f7f11900ad8475eadcefa5b687b9f1ac52f3042 (diff)
downloadpfsense-9caf5eca2cf066bb293c68aa4de5e86c77eab42a.zip
pfsense-9caf5eca2cf066bb293c68aa4de5e86c77eab42a.tar.gz
Check the right field here
Diffstat (limited to 'usr/local/www/vpn_ipsec_phase1.php')
-rw-r--r--usr/local/www/vpn_ipsec_phase1.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php
index f807e9e..343d1a1 100644
--- a/usr/local/www/vpn_ipsec_phase1.php
+++ b/usr/local/www/vpn_ipsec_phase1.php
@@ -52,7 +52,7 @@ $a_phase2 = &$config['ipsec']['phase2'];
if (is_numericint($_GET['p1index']))
$p1index = $_GET['p1index'];
-if (isset($_POST['p1index']) && is_numericint($_GET['p1index']))
+if (isset($_POST['p1index']) && is_numericint($_POST['p1index']))
$p1index = $_POST['p1index'];
if (isset($_GET['dup']) && is_numericint($_GET['dup']))
OpenPOWER on IntegriCloud