0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

When processing ACCEPT/REJECT carrying no message, don't print

trailing newline.

I hope the fix is correct, but please check.
This commit is contained in:
Martin Mares 2000-04-01 09:15:55 +00:00
parent b157361533
commit 798df5b1ab

View File

@ -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) {