diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-04-29 15:33:42 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-04-29 15:36:33 -0300 |
commit | 19166f7d2d1d846e8b5b51252e63e05e005d9602 (patch) | |
tree | aec223356df0980d83152d622bc9b65bc2826266 /usr | |
parent | 2ae503264c698ee152a26d8439cbbdfd3615f1e6 (diff) | |
download | pfsense-19166f7d2d1d846e8b5b51252e63e05e005d9602.zip pfsense-19166f7d2d1d846e8b5b51252e63e05e005d9602.tar.gz |
Check the right field here
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/vpn_ipsec_phase1.php | 2 | ||||
-rw-r--r-- | usr/local/www/vpn_ipsec_phase2.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php index f69cfd3..6024e53 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'])) diff --git a/usr/local/www/vpn_ipsec_phase2.php b/usr/local/www/vpn_ipsec_phase2.php index b2643c7..6f3c4ee 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'])) |