Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
076f7839
Commit
076f7839
authored
Mar 11, 2010
by
Jan Engelhardt
Committed by
Patrick McHardy
Mar 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netfilter: xt_CT: par->family is an nfproto
Signed-off-by:
Jan Engelhardt
<
jengelh@medozas.de
>
parent
e50208a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
net/netfilter/xt_CT.c
net/netfilter/xt_CT.c
+2
-2
No files found.
net/netfilter/xt_CT.c
View file @
076f7839
...
@@ -37,13 +37,13 @@ static unsigned int xt_ct_target(struct sk_buff *skb,
...
@@ -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
)
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
;
const
struct
ipt_entry
*
e
=
par
->
entryinfo
;
if
(
e
->
ip
.
invflags
&
IPT_INV_PROTO
)
if
(
e
->
ip
.
invflags
&
IPT_INV_PROTO
)
return
0
;
return
0
;
return
e
->
ip
.
proto
;
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
;
const
struct
ip6t_entry
*
e
=
par
->
entryinfo
;
if
(
e
->
ipv6
.
invflags
&
IP6T_INV_PROTO
)
if
(
e
->
ipv6
.
invflags
&
IP6T_INV_PROTO
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment