diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-02-14 16:06:48 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-14 16:06:48 -0500 |
commit | cbb82e6b6ca03d59209ef8f76968249ca390a9a2 (patch) | |
tree | 0423a998336ecf21d9542877fa7ada393709bf43 /src/usr/local/www/diag_dump_states_sources.php | |
parent | 9f2bbdb44c5700384a37a9586d260492f14f7602 (diff) | |
download | pfsense-cbb82e6b6ca03d59209ef8f76968249ca390a9a2.zip pfsense-cbb82e6b6ca03d59209ef8f76968249ca390a9a2.tar.gz |
GET/POST conversions
Diffstat (limited to 'src/usr/local/www/diag_dump_states_sources.php')
-rw-r--r-- | src/usr/local/www/diag_dump_states_sources.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/diag_dump_states_sources.php b/src/usr/local/www/diag_dump_states_sources.php index b5c7b39..f618981 100644 --- a/src/usr/local/www/diag_dump_states_sources.php +++ b/src/usr/local/www/diag_dump_states_sources.php @@ -34,7 +34,7 @@ if ($_POST['action']) { if ($_POST['action'] == "remove") { if (is_ipaddr($_POST['srcip']) && is_ipaddr($_POST['dstip'])) { $retval = mwexec("/sbin/pfctl -K " . escapeshellarg($_POST['srcip']) . " -K " . escapeshellarg($_POST['dstip'])); - echo htmlentities("|{$_GET['srcip']}|{$_POST['dstip']}|{$retval}|"); + echo htmlentities("|{$_POST['srcip']}|{$_POST['dstip']}|{$retval}|"); } else { echo gettext("invalid input"); } |