summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-07 10:30:58 -0200
committerRenato Botelho <renato@netgate.com>2016-01-07 10:30:58 -0200
commite4b20e955aded63d6b3b393cae68b5d80f573eac (patch)
treeb1c72396a8e706fd2c15cad5c15f5b536d8e2b1d
parentfbce6729de8631febfee39ba3b1de79976b7355f (diff)
parent6f80b61e0b0606493b8f51d929ac2dd57ead56cd (diff)
downloadpfsense-e4b20e955aded63d6b3b393cae68b5d80f573eac.zip
pfsense-e4b20e955aded63d6b3b393cae68b5d80f573eac.tar.gz
Merge pull request #2368 from phil-davis/patch-8
-rw-r--r--src/usr/local/www/diag_tables.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_tables.php b/src/usr/local/www/diag_tables.php
index 36b41f7..a543f83 100644
--- a/src/usr/local/www/diag_tables.php
+++ b/src/usr/local/www/diag_tables.php
@@ -82,7 +82,7 @@ if ($_REQUEST['delete']) {
exit;
}
-if ($_POST['deleteall']) {
+if ($_POST['clearall']) {
exec("/sbin/pfctl -t " . escapeshellarg($tablename) . " -T show", $entries);
if (is_array($entries)) {
foreach ($entries as $entryA) {
@@ -215,7 +215,7 @@ if ($bogons || !empty($entries)) {
))->setHelp('Download the latest bogon data')->addClass('btn-warning');
} elseif (!empty($entries)) {
$section->addInput(new Form_Button(
- 'deleteall',
+ 'clearall',
'Clear Table'
))->setHelp('Clear all of the entries in this table')->addClass('btn-danger');
}
OpenPOWER on IntegriCloud