summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index f3b90c4..5fc189f 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -160,7 +160,7 @@ function filter_configure_sync() {
$rules_file = `/bin/cat /tmp/rules.debug`;
$line_split = split("\n", $rules_file);
if(is_array($line_split))
- $line_error = "The line in question reads [{$line_number}]: " . $line_split[$line_number];
+ $line_error = "The line in question reads [{$line_number}]: " . $line_split[$line_number-1];
file_notice("filter_load", "There were error(s) loading the rules: " . $rules_error . " " . $line_error, "Filter Reload", "");
log_error("There were error(s) loading the rules: " . $rules_error . " - " . $line_error);
return;
OpenPOWER on IntegriCloud