summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-01 11:15:55 +0200
committerMartin Mares <mj@ucw.cz>2000-04-01 11:15:55 +0200
commit798df5b1ab6b497d8d9d6d51764f5aef4eb2d567 (patch)
tree0cbacd038b2c85bb1b1a8e6782cb3fb4f8b34e6d
parentb157361533412de2123787a412e6e463c0b2f13a (diff)
downloadbird-798df5b1ab6b497d8d9d6d51764f5aef4eb2d567.tar
bird-798df5b1ab6b497d8d9d6d51764f5aef4eb2d567.zip
When processing ACCEPT/REJECT carrying no message, don't print
trailing newline. I hope the fix is correct, but please check.
-rw-r--r--filter/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter.c b/filter/filter.c
index cc1637e..af7ee53 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -281,7 +281,7 @@ interpret(struct f_inst *what)
break;
case P('p',','):
ONEARG;
- if (what->a2.i != F_NONL)
+ if (what->a2.i == F_NOP || (what->a2.i != F_NONL && what->a1.p))
debug( "\n" );
switch (what->a2.i) {