[PATCH] patch-o-matic-ng snap 20060329 some fix

"Wojciech \"Sas\" Cięciwa" cieciwa at alpha.zarz.agh.edu.pl
Wed Mar 29 17:59:24 CEST 2006


I try to add this snap to kernel 2.6.16.1, and got 3 error in module:
fuzzy, nth and random.

In attachment ane patches, pleas check and applay if this is correct.

Thanx.
	Wojtek.
  --
{Wojciech 'Sas' Cieciwa} {Member of PLD Team}
{   e-mail: cieciwa at alpha.zarz.agh.edu.pl   }
-------------- next part --------------
diff -Nur patch-o-matic-ng/patchlets/random.org/linux-2.6/net/ipv6/netfilter/ip6t_random.c patch-o-matic-ng/patchlets/random/linux-2.6/net/ipv6/netfilter/ip6t_random.c
--- patch-o-matic-ng/patchlets/random.org/linux-2.6/net/ipv6/netfilter/ip6t_random.c	2006-03-29 08:41:00.000000000 +0200
+++ patch-o-matic-ng/patchlets/random/linux-2.6/net/ipv6/netfilter/ip6t_random.c	2006-03-29 17:52:00.000000000 +0200
@@ -70,12 +70,10 @@
 }
 
 static struct ip6t_match ip6t_rand_reg = { 
-	{NULL, NULL},
-	"random",
-	ip6t_rand_match,
-	ip6t_rand_checkentry,
-	NULL,
-	THIS_MODULE };
+	.name 		= "random",
+	.match		= ip6t_rand_match,
+	.checkentry	= ip6t_rand_checkentry,
+	.me		= THIS_MODULE };
 
 static int __init init(void)
 {
-------------- next part --------------
diff -Nur patch-o-matic-ng/patchlets/fuzzy.org/linux-2.6.10/net/ipv6/netfilter/ip6t_fuzzy.c patch-o-matic-ng/patchlets/fuzzy/linux-2.6.10/net/ipv6/netfilter/ip6t_fuzzy.c
--- patch-o-matic-ng/patchlets/fuzzy.org/linux-2.6.10/net/ipv6/netfilter/ip6t_fuzzy.c	2006-03-29 08:41:02.000000000 +0200
+++ patch-o-matic-ng/patchlets/fuzzy/linux-2.6.10/net/ipv6/netfilter/ip6t_fuzzy.c	2006-03-29 17:43:43.000000000 +0200
@@ -164,12 +164,10 @@
 }
 
 static struct ip6t_match ip6t_fuzzy_reg = {
-	{NULL, NULL},
-	"fuzzy",
-	ip6t_fuzzy_match,
-	ip6t_fuzzy_checkentry,
-	NULL,
-	THIS_MODULE };
+	.name		= "fuzzy",
+	.match		= ip6t_fuzzy_match,
+	.checkentry	= ip6t_fuzzy_checkentry,
+	.me		= THIS_MODULE };
 
 static int __init init(void)
 {
-------------- next part --------------
diff -Nur patch-o-matic-ng/patchlets/nth.org/linux-2.6.10/net/ipv6/netfilter/ip6t_nth.c patch-o-matic-ng/patchlets/nth/linux-2.6.10/net/ipv6/netfilter/ip6t_nth.c
--- patch-o-matic-ng/patchlets/nth.org/linux-2.6.10/net/ipv6/netfilter/ip6t_nth.c	2006-03-29 08:40:55.000000000 +0200
+++ patch-o-matic-ng/patchlets/nth/linux-2.6.10/net/ipv6/netfilter/ip6t_nth.c	2006-03-29 17:50:12.000000000 +0200
@@ -140,12 +140,10 @@
 }
 
 static struct ip6t_match ip6t_nth_reg = { 
-	{NULL, NULL},
-	"nth",
-	ip6t_nth_match,
-	ip6t_nth_checkentry,
-	NULL,
-	THIS_MODULE };
+	.name		= "nth",
+	.match		= ip6t_nth_match,
+	.checkentry	= ip6t_nth_checkentry,
+	.me		= THIS_MODULE };
 
 static int __init init(void)
 {


More information about the netfilter-devel mailing list