diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-04-15 11:05:36 -0400 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-04-28 08:03:37 +0000 |
commit | 1c79e6d73160a68ef220ed6baca93d1cfa57bed7 (patch) | |
tree | 17dc2ff9493c22947299059f273e10a61f9ec641 /config/snort/snort_edit_hat_data.php | |
parent | 44a2a6a3a72cf399dfb1f2fde9e2c312b58d4c5f (diff) | |
download | pfsense-packages-1c79e6d73160a68ef220ed6baca93d1cfa57bed7.tar.gz pfsense-packages-1c79e6d73160a68ef220ed6baca93d1cfa57bed7.tar.bz2 pfsense-packages-1c79e6d73160a68ef220ed6baca93d1cfa57bed7.zip |
Add history tag text to all write_config() calls.
Diffstat (limited to 'config/snort/snort_edit_hat_data.php')
-rw-r--r-- | config/snort/snort_edit_hat_data.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_edit_hat_data.php b/config/snort/snort_edit_hat_data.php index cef6a894..e067dc11 100644 --- a/config/snort/snort_edit_hat_data.php +++ b/config/snort/snort_edit_hat_data.php @@ -66,7 +66,7 @@ else if ($_POST['clear']) { unset($a_nat[$id]['host_attribute_data']); $a_nat[$id]['host_attribute_table'] = 'off'; - write_config(); + write_config("Snort pkg: cleared Host Attribute Table data for {$a_nat[$id]['interface'}."); $rebuild_rules = false; snort_generate_conf($a_nat[$id]); $pconfig['host_attribute_data'] = ""; @@ -78,7 +78,7 @@ if ($_POST['save']) { $a_nat[$id]['host_attribute_table'] = 'on'; else $a_nat[$id]['host_attribute_table'] = 'off'; - write_config(); + write_config("Snort pkg: modified Host Attribute Table data for {$a_nat[$id]['interface'}."); $rebuild_rules = false; snort_generate_conf($a_nat[$id]); $pconfig['host_attribute_data'] = $_POST['host_attribute_data']; |