diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-03-17 18:05:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-03-17 18:05:12 +0000 |
commit | abe04fa30307b2d659364d477d2ae9637334ab43 (patch) | |
tree | 6095b930da95bb601d7281e3d33cec7e90699c78 | |
parent | f3388bb80969d266eb231d89edbcdb657a44987b (diff) | |
download | pfsense-packages-abe04fa30307b2d659364d477d2ae9637334ab43.tar.gz pfsense-packages-abe04fa30307b2d659364d477d2ae9637334ab43.tar.bz2 pfsense-packages-abe04fa30307b2d659364d477d2ae9637334ab43.zip |
Do not add sparious ,
Submitted-by: Ying Wong ying_AT_apdir.com
-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 7910298d..b6ff4d29 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -235,7 +235,8 @@ function generate_snort_conf() { if($subnet) $home_net .= "{$subnet} "; } else { - $home_net .= "{$subnet}/{$ifcfg['subnet']} "; + if ($subnet) + $home_net .= "{$subnet}/{$ifcfg['subnet']} "; } } |