From 8c0fcc9d45f382d5f171adaf5bba112b0172d566 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 3 Aug 2011 15:43:43 +0000 Subject: Another round of fixes for whitelist and suppress. Also correct behaviour of some GUI. --- config/snort/snort_interfaces.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config/snort/snort_interfaces.php') diff --git a/config/snort/snort_interfaces.php b/config/snort/snort_interfaces.php index a192ca43..1d91eda8 100644 --- a/config/snort/snort_interfaces.php +++ b/config/snort/snort_interfaces.php @@ -157,7 +157,6 @@ if ($_GET['act'] == 'toggle' && is_numeric($id)) { header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); - header("Location: /snort/snort_interfaces.php"); }else{ @@ -168,8 +167,8 @@ if ($_GET['act'] == 'toggle' && is_numeric($id)) { header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); - header("Location: /snort/snort_interfaces.php"); } + header("Location: /snort/snort_interfaces.php"); exit; } -- cgit v1.2.3