diff options
author | Warren Baker <warren@decoy.co.za> | 2012-02-01 19:58:52 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2012-02-01 19:58:52 +0200 |
commit | d835ffc8c201abb882d6b88bfacdd5f9e9e87677 (patch) | |
tree | 6909b59d18d844c87170e6f114bc56eadbd70261 | |
parent | dd576193b2fd0cd7917c6e5e3266150faf6eed35 (diff) | |
download | pfsense-d835ffc8c201abb882d6b88bfacdd5f9e9e87677.zip pfsense-d835ffc8c201abb882d6b88bfacdd5f9e9e87677.tar.gz |
Also write out the rules that caused the problem to ease troubleshooting.
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index fc6bdb3..f9c443b 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -3115,7 +3115,7 @@ function discover_pkg_rules($ruletype) { if ($status <> 0) { $errorrules = sprintf(gettext("There was an error while parsing the package filter rules for %s."), $pkg_inc) . "\n"; log_error($errorrules); - file_put_contents("{$g['tmp_path']}/rules.packages.{$pkg}", "#{$errorrules}\n"); + file_put_contents("{$g['tmp_path']}/rules.packages.{$pkg}", "#{$errorrules}\n{$tmprules}\n"); continue; } $rules .= $tmprules; |