Skip to content

commented out rules, still being processed by rule_write #374

@da667

Description

@da667

Noticed a problem with how pulledpork is processing some commented out rules.

We can see that a state flag is being set to ignore commented out rules here:

https://github.com/shirkdog/pulledpork/blob/master/pulledpork.pl#L694

but it's never being used in the rule_write function.

https://github.com/shirkdog/pulledpork/blob/master/pulledpork.pl#L1358-1384

This seems to be resulting in some cases where some rules are being re-enabled erroneously.

Metadata

Metadata

Assignees

Labels

bugKnown bug in the code.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions