Commit fc6ad652 authored by Ad Schellevis's avatar Ad Schellevis

(filter) remove unused parameter divert

parent 9ce93f82
...@@ -2066,7 +2066,7 @@ function filter_generate_user_rule(&$FilterIflist, $rule) ...@@ -2066,7 +2066,7 @@ function filter_generate_user_rule(&$FilterIflist, $rule)
$int = ""; $int = "";
$aline = array(); $aline = array();
// initialize array with empty tags // initialize array with empty tags
foreach (array('divert','icmp-type','icmp6-type','tag','tagged','route','os','reply','prot','log', 'set-prio', 'set-prio-low', 'prio') as $tag) { foreach (array('icmp-type','icmp6-type','tag','tagged','route','os','reply','prot','log', 'set-prio', 'set-prio-low', 'prio') as $tag) {
$aline[$tag] = ""; $aline[$tag] = "";
} }
...@@ -2386,7 +2386,7 @@ function filter_generate_user_rule(&$FilterIflist, $rule) ...@@ -2386,7 +2386,7 @@ function filter_generate_user_rule(&$FilterIflist, $rule)
/* piece together the actual user rule */ /* piece together the actual user rule */
$line .= $aline['type'] . $aline['direction'] . $aline['log'] . $aline['quick'] . $aline['interface'] . $line .= $aline['type'] . $aline['direction'] . $aline['log'] . $aline['quick'] . $aline['interface'] .
$aline['reply'] . $aline['route'] . $aline['ipprotocol'] . $aline['prot'] . $aline['src'] . $aline['os'] . $aline['dst'] . $aline['reply'] . $aline['route'] . $aline['ipprotocol'] . $aline['prot'] . $aline['src'] . $aline['os'] . $aline['dst'] .
$aline['divert'] . $aline['icmp-type'] . $aline['icmp6-type'] . $aline['tag'] . $aline['tagged'] . $aline['icmp-type'] . $aline['icmp6-type'] . $aline['tag'] . $aline['tagged'] .
$aline['set-prio'] . $aline['prio'] . $aline['allowopts'] . $aline['flags']; $aline['set-prio'] . $aline['prio'] . $aline['allowopts'] . $aline['flags'];
unset($aline); unset($aline);
......
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