[netfilter-cvslog] r7053 - trunk/iptables/extensions

kaber at trash.net kaber at trash.net
Thu Oct 4 18:23:20 CEST 2007


Author: kaber at trash.net
Date: 2007-10-04 18:23:20 +0200 (Thu, 04 Oct 2007)
New Revision: 7053

Modified:
   trunk/iptables/extensions/libip6t_HL.c
   trunk/iptables/extensions/libipt_MASQUERADE.c
   trunk/iptables/extensions/libipt_realm.c
Log:
[PATCH 01/13] Remove stray NULLs

Mixing member accessors (non-named vs named) is not good.
Remove stray NULL.

Signed-off-by: Jan Engelhardt <jengelh at gmx.de>


Modified: trunk/iptables/extensions/libip6t_HL.c
===================================================================
--- trunk/iptables/extensions/libip6t_HL.c	2007-10-04 05:01:35 UTC (rev 7052)
+++ trunk/iptables/extensions/libip6t_HL.c	2007-10-04 16:23:20 UTC (rev 7053)
@@ -146,7 +146,7 @@
 };
 
 static
-struct ip6tables_target HL = { NULL, 
+struct ip6tables_target HL = {
 	.name 		= "HL",
 	.version	= IPTABLES_VERSION,
 	.size		= IP6T_ALIGN(sizeof(struct ip6t_HL_info)),

Modified: trunk/iptables/extensions/libipt_MASQUERADE.c
===================================================================
--- trunk/iptables/extensions/libipt_MASQUERADE.c	2007-10-04 05:01:35 UTC (rev 7052)
+++ trunk/iptables/extensions/libipt_MASQUERADE.c	2007-10-04 16:23:20 UTC (rev 7053)
@@ -161,7 +161,7 @@
 		printf("--random ");
 }
 
-static struct iptables_target masq = { NULL,
+static struct iptables_target masq = {
 	.name		= "MASQUERADE",
 	.version	= IPTABLES_VERSION,
 	.size		= IPT_ALIGN(sizeof(struct ip_nat_multi_range)),

Modified: trunk/iptables/extensions/libipt_realm.c
===================================================================
--- trunk/iptables/extensions/libipt_realm.c	2007-10-04 05:01:35 UTC (rev 7052)
+++ trunk/iptables/extensions/libipt_realm.c	2007-10-04 16:23:20 UTC (rev 7053)
@@ -250,7 +250,7 @@
 			   "realm match: You must specify `--realm'");
 }
 
-static struct iptables_match realm = { NULL,
+static struct iptables_match realm = {
 	.name		= "realm",
 	.version	= IPTABLES_VERSION,
 	.size		= IPT_ALIGN(sizeof(struct ipt_realm_info)),




More information about the netfilter-cvslog mailing list