[NETFILTER]: nf_conntrack_ftp: fix missing helper mask initilization
authorPatrick McHardy <kaber@trash.net>
Wed, 29 Nov 2006 01:35:14 +0000 (02:35 +0100)
committerDavid 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

index 10836fc22a44b94c9d64b2e07bc249b7bdaeaa83..05cb78ca90aee0623da7f0b45b27580fd8886ffb 100644 (file)
@@ -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;