summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-10-19 07:50:51 +0000
committerErmal Luçi <eri@pfsense.org>2008-10-19 07:50:51 +0000
commit9a12451b3a77fc6d68c1e970c083deeb3e653c67 (patch)
tree4807eae3aeda384ff329a932acfbf98faba35d22
parent2867fa7be27b8fa7c5c0a30e957b42aac8fff0ba (diff)
downloadpfsense-9a12451b3a77fc6d68c1e970c083deeb3e653c67.zip
pfsense-9a12451b3a77fc6d68c1e970c083deeb3e653c67.tar.gz
Do not try to generate rules for the known interface groups or should we?
-rw-r--r--etc/inc/filter.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 611eab3..8be4cf0 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -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)
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud