aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/snort/snort.inc3
-rw-r--r--packages/snort/snort_download_rules.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index fb1c76e3..a206b19f 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -168,7 +168,8 @@ function generate_snort_conf() {
/* iterate all interfaces and add to whitelist */
foreach($config['interfaces'] as $interface)
- $home_net .= "{$interface['ipaddr']} ";
+ if($interface['ipaddr'] <> "pppoe" and $interface['ipaddr'] <> "dhcp")
+ $home_net .= "{$interface['ipaddr']} ";
/* iterate all vips and add to whitelist */
if($config['virtualip'])
diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php
index d0309e18..e558706e 100644
--- a/packages/snort/snort_download_rules.php
+++ b/packages/snort/snort_download_rules.php
@@ -1,4 +1,5 @@
<?php
+/* $Id$ */
/*
snort_download_rules.php
part of pfSense (http://www.pfsense.com)