[patch]iptables-save:remove unnecessary code.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following code is never be used. It should be removed.


Signed-off-by: Shan Wei <shanwei@xxxxxxxxxxxxxx>

--- iptables-save.org 2008-04-15 20:01:06.000000000 +0800
+++ iptables-save.c 2008-04-11 21:28:57.000000000 +0800
@@ -106,19 +106,6 @@ static void print_proto(u_int16_t proto,
}
}

-#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)
{


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux