aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-04-15 11:07:18 -0400
committerErmal <eri@pfsense.org>2014-04-28 08:03:38 +0000
commitb9248e556773d5f4cde0e9677c8791d453c42b4c (patch)
tree1c44903bb2dfc10383276b4eccc705b194be5090 /config
parent1c79e6d73160a68ef220ed6baca93d1cfa57bed7 (diff)
downloadpfsense-packages-b9248e556773d5f4cde0e9677c8791d453c42b4c.tar.gz
pfsense-packages-b9248e556773d5f4cde0e9677c8791d453c42b4c.tar.bz2
pfsense-packages-b9248e556773d5f4cde0e9677c8791d453c42b4c.zip
Add history tag text to all write_config() calls.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/snort/snort_interfaces.php2
-rw-r--r--config/snort/snort_rules_flowbits.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_interfaces.php b/config/snort/snort_interfaces.php
index 9f42ab2e..c82ec57e 100755
--- a/config/snort/snort_interfaces.php
+++ b/config/snort/snort_interfaces.php
@@ -65,7 +65,7 @@ if (isset($_POST['del_x'])) {
if (empty($a_nat))
unset($a_nat);
- write_config();
+ write_config("Snort pkg: deleted one or more Snort interfaces.");
sleep(2);
/* if there are no ifaces remaining do not create snort.sh */
diff --git a/config/snort/snort_rules_flowbits.php b/config/snort/snort_rules_flowbits.php
index de5bdc6b..daf1c4ef 100644
--- a/config/snort/snort_rules_flowbits.php
+++ b/config/snort/snort_rules_flowbits.php
@@ -125,7 +125,7 @@ if ($_POST['addsuppress'] && is_numeric($_POST['sid']) && is_numeric($_POST['gid
}
}
if ($found_list) {
- write_config();
+ write_config("Snort pkg: modified Suppress List for {$a_nat[$id]['interface']}.");
$rebuild_rules = false;
sync_snort_package_config();
snort_reload_config($a_nat[$id]);