projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be00c8e
)
[NETFILTER]: nf_conntrack_ftp: fix missing helper mask initilization
author
Patrick McHardy
<kaber@trash.net>
Wed, 29 Nov 2006 01:35:14 +0000
(
02:35
+0100)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:31:15 +0000
(21:31 -0800)
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_ftp.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_conntrack_ftp.c
b/net/netfilter/nf_conntrack_ftp.c
index 10836fc22a44b94c9d64b2e07bc249b7bdaeaa83..05cb78ca90aee0623da7f0b45b27580fd8886ffb 100644
(file)
--- a/
net/netfilter/nf_conntrack_ftp.c
+++ b/
net/netfilter/nf_conntrack_ftp.c
@@
-586,6
+586,7
@@
static int __init nf_conntrack_ftp_init(void)
for (j = 0; j < 2; j++) {
ftp[i][j].tuple.src.u.tcp.port = htons(ports[i]);
ftp[i][j].tuple.dst.protonum = IPPROTO_TCP;
+ ftp[i][j].mask.src.l3num = 0xFFFF;
ftp[i][j].mask.src.u.tcp.port = 0xFFFF;
ftp[i][j].mask.dst.protonum = 0xFF;
ftp[i][j].max_expected = 1;