Commit 2b74af0c authored by Ad Schellevis's avatar Ad Schellevis

(filter.inc, filterdns) it doesn't make sense to resolve other then host types

parent 542480f1
......@@ -481,7 +481,7 @@ function filter_generate_nested_alias($name, $alias, &$aliasnesting, &$aliasaddr
}
} elseif (!isset($aliasaddrnesting[$address])) {
if (!is_ipaddr($address) && !is_subnet($address) && !is_port($address) && !is_portrange($address) && is_hostname($address)) {
if (!isset($filterdns["{$address}{$name}"])) {
if (!isset($filterdns["{$address}{$name}"]) && in_array(alias_get_type($name), array('host'))) {
$filterdns["{$address}{$name}"] = "pf {$address} {$name}\n";
}
continue;
......
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