[NETFILTER 03/04]: xt_iprange: fix typo in address family

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[NETFILTER]: xt_iprange: fix typo in address family

The family for iprange_mt4 should be AF_INET, not AF_INET6.
Noticed by Jiri Moravec <jim.lkml@xxxxxxxxx>.

Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>

---
commit a9fd46af7dc44d5d5c0e547b82c73ce01024e74d
tree 30728c3c81dbd20acbdaf3a735c96ea40252c7ca
parent 9f2e0b6690028db2397bee5d50aaaea0e3993f7a
author Patrick McHardy <kaber@xxxxxxxxx> Wed, 06 Feb 2008 02:51:14 +0100
committer Patrick McHardy <kaber@xxxxxxxxx> Wed, 06 Feb 2008 02:51:14 +0100

 net/netfilter/xt_iprange.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/netfilter/xt_iprange.c b/net/netfilter/xt_iprange.c
index 01035fc..97715e3 100644
--- a/net/netfilter/xt_iprange.c
+++ b/net/netfilter/xt_iprange.c
@@ -148,7 +148,7 @@ static struct xt_match iprange_mt_reg[] __read_mostly = {
 	{
 		.name      = "iprange",
 		.revision  = 1,
-		.family    = AF_INET6,
+		.family    = AF_INET,
 		.match     = iprange_mt4,
 		.matchsize = sizeof(struct xt_iprange_mtinfo),
 		.me        = THIS_MODULE,
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux