netfilter-2.6/patch-o-matic-ng/trunk: net/ipv4/netfilter/ipt_iprange.c status

pluto cvs at pld-linux.org
Thu Jul 28 14:24:06 CEST 2005


Author: pluto
Date: Thu Jul 28 14:24:05 2005
New Revision: 6258

Modified:
   netfilter-2.6/patch-o-matic-ng/trunk/net/ipv4/netfilter/ipt_iprange.c
   netfilter-2.6/patch-o-matic-ng/trunk/status
Log:
- iprange.


Modified: netfilter-2.6/patch-o-matic-ng/trunk/net/ipv4/netfilter/ipt_iprange.c
==============================================================================
--- netfilter-2.6/patch-o-matic-ng/trunk/net/ipv4/netfilter/ipt_iprange.c	(original)
+++ netfilter-2.6/patch-o-matic-ng/trunk/net/ipv4/netfilter/ipt_iprange.c	Thu Jul 28 14:24:05 2005
@@ -1,11 +1,9 @@
 /*
  * iptables module to match IP address ranges
+ *   (c) 2003 Jozsef Kadlecsik <kadlec at blackhole.kfki.hu>
  *
- * (C) 2003 Jozsef Kadlecsik <kadlec at blackhole.kfki.hu>
+ * Released under the terms of GNU GPLv2.
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 #include <linux/module.h>
 #include <linux/skbuff.h>
@@ -28,10 +26,12 @@
       const struct net_device *in,
       const struct net_device *out,
       const void *matchinfo,
-      int offset, int *hotdrop)
+      int offset,
+      int *hotdrop)
 {
 	const struct ipt_iprange_info *info = matchinfo;
 	const struct iphdr *iph = skb->nh.iph;
+	
 
 	if (info->flags & IPRANGE_SRC) {
 		if (((ntohl(iph->saddr) < ntohl(info->src.min_ip))
@@ -77,11 +77,9 @@
 
 static struct ipt_match iprange_match = 
 { 
-	.list = { NULL, NULL }, 
 	.name = "iprange", 
 	.match = &match, 
 	.checkentry = &check, 
-	.destroy = NULL, 
 	.me = THIS_MODULE
 };
 

Modified: netfilter-2.6/patch-o-matic-ng/trunk/status
==============================================================================
--- netfilter-2.6/patch-o-matic-ng/trunk/status	(original)
+++ netfilter-2.6/patch-o-matic-ng/trunk/status	Thu Jul 28 14:24:05 2005
@@ -16,7 +16,7 @@
 IPMARK			2005/07/27	added
 ipp2p			2005/07/27	added+updated	(v0.7.4)
 ip_queue_vmark		2005/07/27	added
-iprange					updated
+iprange			2005/07/27	updated
 ipv4options		2005/07/27	added
 IPV4OPTSSTRIP		2005/07/27	added
 layer7					added		(v1.2)



More information about the pld-cvs-commit mailing list