From: Jo-Philipp Wich Date: Wed, 27 Feb 2013 13:40:51 +0000 (+0100) Subject: cosmetic change in printing of forward rules X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5f0b781b249bba29e23ba797b347d0904f90f726;p=oweals%2Ffirewall3.git cosmetic change in printing of forward rules --- diff --git a/forwards.c b/forwards.c index 9f658fc..e01f126 100644 --- a/forwards.c +++ b/forwards.c @@ -125,10 +125,7 @@ print_forward(enum fw3_table table, enum fw3_family family, s = forward->_src ? forward->_src->name : "*"; d = forward->_dest ? forward->_dest->name : "*"; - if (forward->name) - info(" * Forward '%s'", forward->name); - else - info(" * Forward %s->%s", s, d); + info(" * Forward '%s' -> '%s'", s, d); if (!fw3_is_family(forward->_src, family) || !fw3_is_family(forward->_dest, family))