diff options
author | rusty <rusty> | 2000-09-01 06:01:00 +0000 |
---|---|---|
committer | rusty <rusty> | 2000-09-01 06:01:00 +0000 |
commit | 70177d974e395069698bc5c6b8fd6050eb08e812 (patch) | |
tree | 03ca6abbbd836e13f8ad877bcf3399ae90f52c92 | |
parent | 278313365aee1554ad9139473bad118662d93b9c (diff) |
Fixes for targets with no print() function.
-rw-r--r-- | iptables.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |