projects
/
oweals
/
firewall3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eb517c
)
cosmetic change in printing of forward rules
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 27 Feb 2013 13:40:51 +0000
(14:40 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 27 Feb 2013 13:40:51 +0000
(14:40 +0100)
forwards.c
patch
|
blob
|
history
diff --git
a/forwards.c
b/forwards.c
index 9f658fc60da24819462ed7f5c2eba44e14b8b31e..e01f1266ed721baca25678c772d5f42b9ec06202 100644
(file)
--- 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))