diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-01 11:15:55 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-01 11:15:55 +0200 |
commit | 798df5b1ab6b497d8d9d6d51764f5aef4eb2d567 (patch) | |
tree | 0cbacd038b2c85bb1b1a8e6782cb3fb4f8b34e6d /filter | |
parent | b157361533412de2123787a412e6e463c0b2f13a (diff) | |
download | bird-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.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/filter.c | 2 |
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) { |