aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-02-07 20:56:49 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-07 20:56:49 -0500
commitd9d17578d9f11cdbe41e4559e8f264ec757ddce8 (patch)
tree1fbc9733982c501a5e35482abc4c27c65727dcc8 /net
parent86577c661bc01d5c4e477d74567df4470d6c5138 (diff)
[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@gmail.com>. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/xt_iprange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_iprange.c b/net/netfilter/xt_iprange.c
index 01035fc0e140..97715e31c016 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 = {
148 { 148 {
149 .name = "iprange", 149 .name = "iprange",
150 .revision = 1, 150 .revision = 1,
151 .family = AF_INET6, 151 .family = AF_INET,
152 .match = iprange_mt4, 152 .match = iprange_mt4,
153 .matchsize = sizeof(struct xt_iprange_mtinfo), 153 .matchsize = sizeof(struct xt_iprange_mtinfo),
154 .me = THIS_MODULE, 154 .me = THIS_MODULE,