SOURCES (LINUX_2_6): pom-ng-random-20060329.patch - fixed ip6t_mat...

cieciwa cieciwa at pld-linux.org
Wed Mar 29 15:09:43 CEST 2006


Author: cieciwa                      Date: Wed Mar 29 13:09:43 2006 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- fixed ip6t_match struct.

---- Files affected:
SOURCES:
   pom-ng-random-20060329.patch (1.1.2.1 -> 1.1.2.2) 

---- Diffs:

================================================================
Index: SOURCES/pom-ng-random-20060329.patch
diff -u SOURCES/pom-ng-random-20060329.patch:1.1.2.1 SOURCES/pom-ng-random-20060329.patch:1.1.2.2
--- SOURCES/pom-ng-random-20060329.patch:1.1.2.1	Wed Mar 29 11:15:12 2006
+++ SOURCES/pom-ng-random-20060329.patch	Wed Mar 29 15:09:38 2006
@@ -5,7 +5,7 @@
  net/ipv4/netfilter/ipt_random.c            |   92 +++++++++++++++++++++++++++
  net/ipv6/netfilter/Kconfig                 |   11 +++
  net/ipv6/netfilter/Makefile                |    2 
- net/ipv6/netfilter/ip6t_random.c           |   96 +++++++++++++++++++++++++++++
+ net/ipv6/netfilter/ip6t_random.c           |   94 +++++++++++++++++++++++++++++
  8 files changed, 235 insertions(+)
 
 diff -Nur --exclude '"*.orig"' linux-2.6.16.org/include/linux/netfilter_ipv4/ipt_random.h linux-2.6.16/include/linux/netfilter_ipv4/ipt_random.h
@@ -194,7 +194,7 @@
 diff -Nur --exclude '"*.orig"' linux-2.6.16.org/net/ipv6/netfilter/ip6t_random.c linux-2.6.16/net/ipv6/netfilter/ip6t_random.c
 --- linux-2.6.16.org/net/ipv6/netfilter/ip6t_random.c	1970-01-01 01:00:00.000000000 +0100
 +++ linux-2.6.16/net/ipv6/netfilter/ip6t_random.c	2006-03-29 09:47:19.000000000 +0200
-@@ -0,0 +1,96 @@
+@@ -0,0 +1,94 @@
 +/*
 +  This is a module which is used for a "random" match support.
 +  This file is distributed under the terms of the GNU General Public
@@ -267,12 +267,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)
 +{
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/pom-ng-random-20060329.patch?r1=1.1.2.1&r2=1.1.2.2&f=u



More information about the pld-cvs-commit mailing list