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
6350323a
Commit
6350323a
authored
Dec 23, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'nf' of
git://1984.lsi.us.es/net
parents
0fd7bac6
0354b48f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
net/netfilter/xt_connbytes.c
net/netfilter/xt_connbytes.c
+3
-3
No files found.
net/netfilter/xt_connbytes.c
View file @
6350323a
...
...
@@ -87,10 +87,10 @@ connbytes_mt(const struct sk_buff *skb, struct xt_action_param *par)
break
;
}
if
(
sinfo
->
count
.
to
)
if
(
sinfo
->
count
.
to
>=
sinfo
->
count
.
from
)
return
what
<=
sinfo
->
count
.
to
&&
what
>=
sinfo
->
count
.
from
;
else
return
what
>=
sinfo
->
count
.
from
;
else
/* inverted */
return
what
<
sinfo
->
count
.
to
||
what
>
sinfo
->
count
.
from
;
}
static
int
connbytes_mt_check
(
const
struct
xt_mtchk_param
*
par
)
...
...
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