diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-18 21:34:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-18 21:34:53 +0000 |
commit | 832ad79ef55b7be9dfb8bb3ef516160953de2169 (patch) | |
tree | 6ea2d195db5466cadb30cec2d1896112d856f126 /etc | |
parent | e2874a42c1c2c566aeddccfb94232d3ce055aa12 (diff) | |
download | pfsense-832ad79ef55b7be9dfb8bb3ef516160953de2169.zip pfsense-832ad79ef55b7be9dfb8bb3ef516160953de2169.tar.gz |
Do not install blank rules.
Found by Slayback on the forum.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 7f8248e..bc0f82b 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2000,7 +2000,7 @@ EOD; // label if($rule['descr'] <> "" and $line <> "") $line .= " label \"USER_RULE: {$rule['descr']}\" "; - else + else if($line <> "") $line .= " label \"USER_RULE\" "; } $line .= "\n"; |