projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86577c6
)
[NETFILTER]: xt_iprange: fix typo in address family
author
Patrick McHardy
<kaber@trash.net>
Fri, 8 Feb 2008 01:56:49 +0000
(17:56 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 8 Feb 2008 01:56:49 +0000
(17:56 -0800)
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>
net/netfilter/xt_iprange.c
patch
|
blob
|
history
diff --git
a/net/netfilter/xt_iprange.c
b/net/netfilter/xt_iprange.c
index 01035fc0e140637146c16b0413db56baf6aa3180..97715e31c0167f5fd782d68f106eb4d3e0e3608e 100644
(file)
--- 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_INET
6
,
+ .family = AF_INET,
.match = iprange_mt4,
.matchsize = sizeof(struct xt_iprange_mtinfo),
.me = THIS_MODULE,