summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables.c b/iptables.c
index d94cbd9c..697e0c1b 100644
--- a/iptables.c
+++ b/iptables.c
@@ -1060,6 +1060,8 @@ print_match(const struct ipt_entry_match *m,
if (match) {
if (match->print)
match->print(ip, m, numeric);
+ else
+ printf("%s ", match->name)
} else {
if (m->u.user.name[0])
printf("UNKNOWN match `%s' ", m->u.user.name);