commit | 629149f7a8f145b760d1d53be22786b12e843083 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@linuxcare.com.au> | Fri Sep 01 06:01:00 2000 +0000 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Fri Sep 01 06:01:00 2000 +0000 |
tree | 03ca6abbbd836e13f8ad877bcf3399ae90f52c92 | |
parent | fa9f9f907c7bb92a858127157084c6368fae23cf [diff] [blame] |
Fixes for targets with no print() function.
diff --git a/iptables.c b/iptables.c index d94cbd9..697e0c1 100644 --- a/iptables.c +++ b/iptables.c
@@ -1060,6 +1060,8 @@ 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);