projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netfilter: x_tables: use NFPROTO_* in extensions
[deliverable/linux.git]
/
net
/
netfilter
/
xt_connbytes.c
diff --git
a/net/netfilter/xt_connbytes.c
b/net/netfilter/xt_connbytes.c
index 3e39c4fe1931b4f91655b406eee2f5bca9395c7d..d2cd22a49c96e933b9bb1c9a1f883bf814b299ca 100644
(file)
--- a/
net/netfilter/xt_connbytes.c
+++ b/
net/netfilter/xt_connbytes.c
@@
-130,7
+130,7
@@
connbytes_mt_destroy(const struct xt_match *match, void *matchinfo)
static struct xt_match connbytes_mt_reg[] __read_mostly = {
{
.name = "connbytes",
static struct xt_match connbytes_mt_reg[] __read_mostly = {
{
.name = "connbytes",
- .family =
AF_INET
,
+ .family =
NFPROTO_IPV4
,
.checkentry = connbytes_mt_check,
.match = connbytes_mt,
.destroy = connbytes_mt_destroy,
.checkentry = connbytes_mt_check,
.match = connbytes_mt,
.destroy = connbytes_mt_destroy,
@@
-139,7
+139,7
@@
static struct xt_match connbytes_mt_reg[] __read_mostly = {
},
{
.name = "connbytes",
},
{
.name = "connbytes",
- .family =
AF_INET
6,
+ .family =
NFPROTO_IPV
6,
.checkentry = connbytes_mt_check,
.match = connbytes_mt,
.destroy = connbytes_mt_destroy,
.checkentry = connbytes_mt_check,
.match = connbytes_mt,
.destroy = connbytes_mt_destroy,
This page took
0.026442 seconds
and
5
git commands to generate.