Actions
Feature #14293
closedPackage plugin hook for pf Ethernet rules
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Package System
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
0.50 h
Release Notes:
Default
Description
Packages can now add pf ether rules using the <filter_rules_needed>package_rules</filter_rules_needed>
mechanism.
<filter_rules_needed>
defines a callback function that called for each package during filter config generation:
function package_rules($ruletype) {
if ($ruletype === 'ether') {
return '# add an ether rule' . PHP_EOL;
}
}
Actions