mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
[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>
This commit is contained in:
parent
86577c661b
commit
d9d17578d9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user