summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_phase2.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_phase2.php
parent2f7f11900ad8475eadcefa5b687b9f1ac52f3042 (diff)
downloadpfsense-9caf5eca2cf066bb293c68aa4de5e86c77eab42a.zip
pfsense-9caf5eca2cf066bb293c68aa4de5e86c77eab42a.tar.gz
Check the right field here
Diffstat (limited to 'usr/local/www/vpn_ipsec_phase2.php')
-rw-r--r--usr/local/www/vpn_ipsec_phase2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_phase2.php b/usr/local/www/vpn_ipsec_phase2.php
index c18ae0c..3958707 100644
--- a/usr/local/www/vpn_ipsec_phase2.php
+++ b/usr/local/www/vpn_ipsec_phase2.php
@@ -53,7 +53,7 @@ $a_phase2 = &$config['ipsec']['phase2'];
if (is_numericint($_GET['p2index']))
$p2index = $_GET['p2index'];
-if (isset($_POST['p2index']) && is_numericint($_GET['p2index']))
+if (isset($_POST['p2index']) && is_numericint($_POST['p2index']))
$p2index = $_POST['p2index'];
if (isset($_GET['dup']) && is_numericint($_GET['dup']))
OpenPOWER on IntegriCloud