Commit 0755bdac authored by Ad Schellevis's avatar Ad Schellevis

(filter.inc) move anchor, pre requirement for wrapping rule plugin

parent 477fba11
...@@ -477,6 +477,7 @@ function filter_configure_sync() ...@@ -477,6 +477,7 @@ function filter_configure_sync()
$rules .= "{$natrules}\n"; $rules .= "{$natrules}\n";
$rules .= $fw->anchorToText('nat,binat,rdr', 'tail'); $rules .= $fw->anchorToText('nat,binat,rdr', 'tail');
$rules .= $fw->anchorToText('fw', 'head'); $rules .= $fw->anchorToText('fw', 'head');
$rules .= "anchor \"relayd/*\"\n"; // relayd
$rules .= "{$pfrules}\n"; $rules .= "{$pfrules}\n";
$rules .= $fw->anchorToText('fw', 'tail'); $rules .= $fw->anchorToText('fw', 'tail');
...@@ -2491,9 +2492,6 @@ function filter_rules_generate(&$FilterIflist) ...@@ -2491,9 +2492,6 @@ function filter_rules_generate(&$FilterIflist)
$ipfrules = ""; $ipfrules = "";
/* relayd */
$ipfrules .= "anchor \"relayd/*\"\n";
# BEGIN OF firewall rules # BEGIN OF firewall rules
/* default block logging? */ /* default block logging? */
$log = array("block"=>null,"pass"=>null); $log = array("block"=>null,"pass"=>null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment