diff options
author | Ermal Luçi <eri@pfsense.org> | 2013-12-11 05:40:16 -0800 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2013-12-11 05:40:16 -0800 |
commit | df96cff4973bafa17872ea49a6f28e899be5ae7b (patch) | |
tree | 43d637356877dde9eea32bfed48ebefe24daa220 /config/snort/snort_rules_flowbits.php | |
parent | 37adca57db41b835b80d8e9eea5545dd6cb694b1 (diff) | |
parent | 2049e3b947183f2913db222960a2e01ff334b3e9 (diff) | |
download | pfsense-packages-df96cff4973bafa17872ea49a6f28e899be5ae7b.tar.gz pfsense-packages-df96cff4973bafa17872ea49a6f28e899be5ae7b.tar.bz2 pfsense-packages-df96cff4973bafa17872ea49a6f28e899be5ae7b.zip |
Merge pull request #552 from bmeeks8/master
Snort 2.9.5.5 pkg v3.0.0 update
Merge this for now.
Some issues needs to be fixed in between and alias handling is a bit to be rechecked throughly.
Diffstat (limited to 'config/snort/snort_rules_flowbits.php')
-rw-r--r-- | config/snort/snort_rules_flowbits.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/snort/snort_rules_flowbits.php b/config/snort/snort_rules_flowbits.php index 92330ebf..2f13d6bc 100644 --- a/config/snort/snort_rules_flowbits.php +++ b/config/snort/snort_rules_flowbits.php @@ -59,6 +59,7 @@ if(!isset($_SESSION['org_referer'])) $referrer = $_SESSION['org_referer']; if ($_POST['cancel']) { + session_start(); unset($_SESSION['org_referer']); session_write_close(); header("Location: {$referrer}"); @@ -69,6 +70,9 @@ $id = $_GET['id']; if (isset($_POST['id'])) $id = $_POST['id']; if (is_null($id)) { + session_start(); + unset($_SESSION['org_referer']); + session_write_close(); header("Location: /snort/snort_interfaces.php"); exit; } @@ -158,7 +162,7 @@ function truncate($string, $length) { $supplist = snort_load_suppress_sigs($a_nat[$id]); $if_friendly = snort_get_friendly_interface($a_nat[$id]['interface']); -$pgtitle = "Services: Snort: {$if_friendly} Flowbit Rules"; +$pgtitle = gettext("Snort: Interface {$if_friendly} - Flowbit Rules"); include_once("head.inc"); ?> |