summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-10 04:27:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-10 04:27:06 +0000
commit8e13319b8f7b38b782cfaf3caf18b4d13aa091b7 (patch)
tree491f5585137cd87afc82a19b8bcec955591e97a2
parent6f10078abca8ca8ec5afb1f9b3852e260144261f (diff)
downloadpfsense-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
-rw-r--r--etc/inc/filter.inc1
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>";
}
OpenPOWER on IntegriCloud