From 9caf5eca2cf066bb293c68aa4de5e86c77eab42a Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 29 Apr 2014 15:33:42 -0300 Subject: Check the right field here --- usr/local/www/vpn_ipsec_phase1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/vpn_ipsec_phase1.php') 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'])) -- cgit v1.1