diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 20:35:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 20:35:28 +0000 |
commit | 0d91c1003ccc111ca159c1d23d9e4f6b2ec6daee (patch) | |
tree | db44fe35fbe0c40814201738fda5b925b8e942d7 /packages/snort/snort.inc | |
parent | 98cb7611212e29627401f70f1ca3c1dff5b427e2 (diff) | |
download | pfsense-packages-0d91c1003ccc111ca159c1d23d9e4f6b2ec6daee.tar.gz pfsense-packages-0d91c1003ccc111ca159c1d23d9e4f6b2ec6daee.tar.bz2 pfsense-packages-0d91c1003ccc111ca159c1d23d9e4f6b2ec6daee.zip |
Do not include pppoe or dhcp entries
Diffstat (limited to 'packages/snort/snort.inc')
-rw-r--r-- | packages/snort/snort.inc | 3 |
1 files changed, 2 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']) |