From ce96b0e676813be429de061d72aef7a447f9bb0e Mon Sep 17 00:00:00 2001
From: Bill Meeks
Date: Sun, 20 Jan 2013 16:56:36 -0500
Subject: Fix bug in page title display for CATEGORIES tab.
---
config/snort/snort_rulesets.php | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php
index b9aa2647..9c562d31 100755
--- a/config/snort/snort_rulesets.php
+++ b/config/snort/snort_rulesets.php
@@ -158,6 +158,9 @@ if ($_POST['selectall']) {
}
$enabled_rulesets_array = explode("||", $a_nat[$id]['rulesets']);
+
+$if_friendly = snort_get_friendly_interface($pconfig['interface']);
+$pgtitle = "Snort: Interface {$if_friendly} Categories";
include_once("head.inc");
?>
@@ -165,12 +168,8 @@ include_once("head.inc");
' . $pgtitle . '
';}?>
+if($pfsense_stable == 'yes'){echo '' . $pgtitle . '
';}
-