Do not try to generate rules for the known interface groups or should we?

This commit is contained in:
Ermal Luçi 2008-10-19 07:50:51 +00:00
parent 2867fa7be2
commit 9a12451b3a

View File

@ -282,6 +282,8 @@ function filter_generate_scrubing()
/* disable scrub option */
foreach ($FilterIflist as $scrubif => $scrubcfg) {
if (in_array($scrubif, array("pppoe", "pptp", "enc0", "openvpn" /*, "lt2p", "ppp" */)))
continue;
/* set up MSS clamping */
if ($scrubcfg['mtu'] <> "" and is_numeric($scrubcfg['mtu']))
$mssclamp = "max-mss " . (intval($scrubcfg['mtu'] - 40));
@ -2892,4 +2894,4 @@ function return_vpn_subnet($adr)
}
?>
?>