diff options
Diffstat (limited to 'extensions/libipt_icmp.c')
-rw-r--r-- | extensions/libipt_icmp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/libipt_icmp.c b/extensions/libipt_icmp.c index 6c7b1c38..f61593e1 100644 --- a/extensions/libipt_icmp.c +++ b/extensions/libipt_icmp.c @@ -273,8 +273,7 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) /* special hack for 'any' case */ if (icmp->type == 0xFF) { - print_icmptype(icmp->type, icmp->code[0], icmp->code[1], - icmp->invflags & IPT_ICMP_INV, 0); + printf("--icmp-type any "); } else { printf("--icmp-type %u", icmp->type); if (icmp->code[0] != 0 || icmp->code[1] != 0xFF) |