mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-12-13 23:50:57 +00:00
[NETFILTER]: nf_conntrack_ftp: fix missing helper mask initilization
Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
be00c8e489
commit
d734685334
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user