diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-10 04:27:06 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-10 04:27:06 +0000 |
commit | 8e13319b8f7b38b782cfaf3caf18b4d13aa091b7 (patch) | |
tree | 491f5585137cd87afc82a19b8bcec955591e97a2 /etc/inc/filter.inc | |
parent | 6f10078abca8ca8ec5afb1f9b3852e260144261f (diff) | |
download | pfsense-8e13319b8f7b38b782cfaf3caf18b4d13aa091b7.zip pfsense-8e13319b8f7b38b782cfaf3caf18b4d13aa091b7.tar.gz |
Since we now reload the filter rules in the background use the file_notice() alert system if we failed to reload the rules
Diffstat (limited to 'etc/inc/filter.inc')
-rw-r--r-- | etc/inc/filter.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index f4ecbad..1560d9e 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -149,6 +149,7 @@ function filter_configure_sync() { $line_split = split("\n", $rules_file); if(is_array($line_split)) $line_error = "The line in question reads [{$line_number}]:<br>" . $line_split[$line_number]; + file_notice("filter_load", "There was error(s) loading the rules:<p><pre>" . $rules_error . "\n" . $line_error . "</pre>";, "Filter Reload", "") return "There was error(s) loading the rules:<p><pre>" . $rules_error . "\n" . $line_error . "</pre>"; } |