Actions
Bug #738
closedIncorrect filter.inc packages
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/13/2010
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
Description
In the function discover_pkg_rules() in /etc/inc/filter.inc, if a package returns errors in the parsing of the filter rules the errors are dumped to $g['tmp_path']}/rules.packages.{$pkg_inc}.
This should be $g['tmp_path']}/rules.packages.{$pkg} otherwise it tries to dump rules to the path of the include file appended to rules.packages.
For example, HAVP filter errors tries to get dumped to /tmp/rules.packages./usr/local/pkg/havp.inc instead of /tmp/rules.packages.havp.
Simple patch attached.
Files
Updated by Jim Pingle almost 15 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 5ad9311a5b51bc76e1a74b0da4840b3e653afe26.
Updated by Chris Buechler about 14 years ago
- Status changed from Feedback to Resolved
Actions