[netfilter-cvslog] r7501 - trunk/iptables
kaber at trash.net
kaber at trash.net
Mon Apr 21 14:24:24 CEST 2008
Author: kaber at trash.net
Date: 2008-04-21 14:24:24 +0200 (Mon, 21 Apr 2008)
New Revision: 7501
Modified:
trunk/iptables/iptables-save.c
Log:
[patch]iptables-save:remove unnecessary code.
The following code is never be used. It should be removed.
Signed-off-by: Shan Wei <shanwei at cn.fujitsu.com>
Modified: trunk/iptables/iptables-save.c
===================================================================
--- trunk/iptables/iptables-save.c 2008-04-21 12:21:23 UTC (rev 7500)
+++ trunk/iptables/iptables-save.c 2008-04-21 12:24:24 UTC (rev 7501)
@@ -106,19 +106,6 @@
}
}
-#if 0
-static int non_zero(const void *ptr, size_t size)
-{
- unsigned int i;
-
- for (i = 0; i < size; i++)
- if (((char *)ptr)[i])
- return 0;
-
- return 1;
-}
-#endif
-
static int print_match(const struct ipt_entry_match *e,
const struct ipt_ip *ip)
{
More information about the netfilter-cvslog
mailing list