Project

General

Profile

Actions

Bug #738

closed

Incorrect filter.inc packages

Added by Warren Baker almost 15 years ago. Updated about 14 years ago.

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

filter.inc.patch (702 Bytes) filter.inc.patch Warren Baker, 07/13/2010 06:45 AM
Actions #1

Updated by Jim Pingle almost 15 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Warren Baker almost 15 years ago

Cool - thanks Jim.

Actions #3

Updated by Chris Buechler about 14 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF