[netfilter-cvslog] r3246 -
trunk/patch-o-matic-ng/hashlimit/linux-2.6/net/ipv4/netfilter
/C=DE/ST=Berlin/L=Berlin/O=Netfilter
/C=DE/ST=Berlin/L=Berlin/O=Netfilter
Thu Oct 21 00:49:20 CEST 2004
Author: /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge at netfilter.org
Date: 2004-10-21 00:49:19 +0200 (Thu, 21 Oct 2004)
New Revision: 3246
Modified:
trunk/patch-o-matic-ng/hashlimit/linux-2.6/net/ipv4/netfilter/ipt_hashlimit.c
Log:
fix stupod typo (& too much)
Modified: trunk/patch-o-matic-ng/hashlimit/linux-2.6/net/ipv4/netfilter/ipt_hashlimit.c
===================================================================
--- trunk/patch-o-matic-ng/hashlimit/linux-2.6/net/ipv4/netfilter/ipt_hashlimit.c 2004-10-20 22:02:47 UTC (rev 3245)
+++ trunk/patch-o-matic-ng/hashlimit/linux-2.6/net/ipv4/netfilter/ipt_hashlimit.c 2004-10-20 22:49:19 UTC (rev 3246)
@@ -1,7 +1,7 @@
/* iptables match extension to limit the number of packets per second
* seperately for each hashbucket (sourceip/sourceport/dstip/dstport)
*
- * (C) 2003 by Harald Welte <laforge at netfilter.org>
+ * (C) 2003-2004 by Harald Welte <laforge at netfilter.org>
*
* $Id$
*
@@ -49,7 +49,7 @@
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Harald Welte <laforge at netfilter.org>");
-MODULE_DESCRIPTION("iptables match for limiting per destination");
+MODULE_DESCRIPTION("iptables match for limiting per hash-bucket");
/* need to declare this at the top */
static struct proc_dir_entry *hashlimit_procdir;
@@ -445,7 +445,7 @@
if (hinfo->cfg.mode & IPT_HASHLIMIT_HASH_DPT
||hinfo->cfg.mode & IPT_HASHLIMIT_HASH_SPT) {
u_int16_t ports[2];
- if (get_ports(skb, offset, &ports)) {
+ if (get_ports(skb, offset, ports)) {
/* We've been asked to examine this packet, and we
can't. Hence, no choice but to drop. */
*hotdrop = 1;
More information about the netfilter-cvslog
mailing list