[netfilter-cvslog] r6760 - trunk/iptables/extensions
yasuyuki at netfilter.org
yasuyuki at netfilter.org
Mon Feb 19 06:01:40 CET 2007
Author: yasuyuki at netfilter.org
Date: 2007-02-19 06:01:39 +0100 (Mon, 19 Feb 2007)
New Revision: 6760
Modified:
trunk/iptables/extensions/libipt_icmp.c
Log:
Reverted r6754. libipt_icmp has the option 'any', so it's unnecessary
to check no option of ICMP type.
Modified: trunk/iptables/extensions/libipt_icmp.c
===================================================================
--- trunk/iptables/extensions/libipt_icmp.c 2007-02-15 06:41:58 UTC (rev 6759)
+++ trunk/iptables/extensions/libipt_icmp.c 2007-02-19 05:01:39 UTC (rev 6760)
@@ -281,12 +281,9 @@
}
}
-/* Final check; we don't care. */
+/* Final check; we don't care. We can pass 0xFF to match any type */
static void final_check(unsigned int flags)
{
- if (!flags)
- exit_error(PARAMETER_PROBLEM,
- "icmp match: You must specify `--icmp-type'");
}
static struct iptables_match icmp = {
More information about the netfilter-cvslog
mailing list