[netfilter-cvslog] r3625 - trunk/patch-o-matic-ng/osf/linux-2.6/net/ipv4/netfilter

laforge at netfilter.org laforge at netfilter.org
Tue Feb 1 11:50:10 CET 2005


Author: laforge at netfilter.org
Date: 2005-02-01 11:50:09 +0100 (Tue, 01 Feb 2005)
New Revision: 3625

Modified:
   trunk/patch-o-matic-ng/osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c
Log:
Use C99 initializers to allow for new match revision field
Signed-off-by: Bill Rugolsky <brugolsky at telemetry-investments.com>
Signed-off-by: Evgeniy Polyakov <johnpol at 2ka.mipt.ru>


Modified: trunk/patch-o-matic-ng/osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c
===================================================================
--- trunk/patch-o-matic-ng/osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c	2005-02-01 10:48:03 UTC (rev 3624)
+++ trunk/patch-o-matic-ng/osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c	2005-02-01 10:50:09 UTC (rev 3625)
@@ -83,14 +83,11 @@
 static unsigned long seq, ipt_osf_groups = 1;
 static struct sock *nts;
 
-static struct ipt_match osf_match = 
-{ 
-	{ NULL, NULL }, 
-	"osf", 
-	&match, 
-	&checkentry, 
-	NULL, 
-	THIS_MODULE 
+static struct ipt_match osf_match = { 
+	.name = "osf", 
+	.match = &match, 
+	.checkentry = &checkentry, 
+	.me = THIS_MODULE 
 };
 
 static void ipt_osf_nlsend(struct osf_finger *f, const struct sk_buff *sk)




More information about the netfilter-cvslog mailing list