mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ticket #331. For now skip virtual interfaces on loginterface directive. This is contrary to what OpenBSD supports and is being discussed on how to proceed.
This commit is contained in:
parent
d76ecf1368
commit
1dd1e41fc2
@ -2252,9 +2252,15 @@ function filter_setup_logging_interfaces() {
|
||||
echo "filter_setup_logging_interfaces() being called $mt\n";
|
||||
}
|
||||
$rules = "";
|
||||
foreach ($FilterIflist as $ifdescr => $ifname) {
|
||||
/* do not work with tun interfaces */
|
||||
$rules .= "set loginterface {$ifname['if']}\n";
|
||||
foreach ($FilterIflist as $ifdescr => $ifcfg) {
|
||||
/*
|
||||
* XXX: This should be cleared out after a discussion
|
||||
* between pf(4) devs is cleared out. This breaks
|
||||
* compatibility with OpenBSD.
|
||||
*/
|
||||
if(isset($ifcfg['virtual']))
|
||||
continue;
|
||||
$rules .= "set loginterface {$ifcfg['if']}\n";
|
||||
}
|
||||
return $rules;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user