From d25293151743c44ffef9121d10c0568f04066054 Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 10 Jul 2012 07:20:09 +0000 Subject: Some validation and whitespace fixes --- config/snort/snort_interfaces_suppress.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'config/snort/snort_interfaces_suppress.php') diff --git a/config/snort/snort_interfaces_suppress.php b/config/snort/snort_interfaces_suppress.php index eb66b652..d4fe44ac 100644 --- a/config/snort/snort_interfaces_suppress.php +++ b/config/snort/snort_interfaces_suppress.php @@ -45,8 +45,6 @@ if (!is_array($config['installedpackages']['snortglobal']['suppress']['item'])) $a_suppress = &$config['installedpackages']['snortglobal']['suppress']['item']; $id_gen = count($config['installedpackages']['snortglobal']['suppress']['item']); -$d_suppresslistdirty_path = '/var/run/snort_suppress.dirty'; - if ($_GET['act'] == "del") { if ($a_suppress[$_GET['id']]) { /* make sure rule is not being referenced by any nat or filter rules */ @@ -68,15 +66,10 @@ include_once("head.inc"); ' . $pgtitle . '

';} ?> -' . $pgtitle . '

';}?> -
- -

You must apply the changes in order for them to take effect.");?> - -
- +
-- cgit v1.2.3
File Name Description