projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e50208a
)
netfilter: xt_CT: par->family is an nfproto
author
Jan Engelhardt
<jengelh@medozas.de>
Wed, 10 Mar 2010 23:38:44 +0000
(
00:38
+0100)
committer
Patrick McHardy
<kaber@trash.net>
Wed, 17 Mar 2010 14:48:35 +0000
(15:48 +0100)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
net/netfilter/xt_CT.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/xt_CT.c
b/net/netfilter/xt_CT.c
index 61c50fa8470374c9b76580e3dfbee045ee090837..fda603edb31ae7b5b2a469c542dd5a978a433fe8 100644
(file)
--- a/
net/netfilter/xt_CT.c
+++ b/
net/netfilter/xt_CT.c
@@
-37,13
+37,13
@@
static unsigned int xt_ct_target(struct sk_buff *skb,
static u8 xt_ct_find_proto(const struct xt_tgchk_param *par)
{
- if (par->family ==
AF_INET
) {
+ if (par->family ==
NFPROTO_IPV4
) {
const struct ipt_entry *e = par->entryinfo;
if (e->ip.invflags & IPT_INV_PROTO)
return 0;
return e->ip.proto;
- } else if (par->family ==
AF_INET
6) {
+ } else if (par->family ==
NFPROTO_IPV
6) {
const struct ip6t_entry *e = par->entryinfo;
if (e->ipv6.invflags & IP6T_INV_PROTO)