Commit d9d17578 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller

[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: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 86577c66
...@@ -148,7 +148,7 @@ static struct xt_match iprange_mt_reg[] __read_mostly = { ...@@ -148,7 +148,7 @@ static struct xt_match iprange_mt_reg[] __read_mostly = {
{ {
.name = "iprange", .name = "iprange",
.revision = 1, .revision = 1,
.family = AF_INET6, .family = AF_INET,
.match = iprange_mt4, .match = iprange_mt4,
.matchsize = sizeof(struct xt_iprange_mtinfo), .matchsize = sizeof(struct xt_iprange_mtinfo),
.me = THIS_MODULE, .me = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment