From: Patrick McHardy Date: Wed, 29 Nov 2006 01:35:14 +0000 (+0100) Subject: [NETFILTER]: nf_conntrack_ftp: fix missing helper mask initilization X-Git-Tag: v2.6.20-rc2~6^2~13^2~114 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d73468533451fd896324058d9ba649c11ba3e3ee;p=linux-2.6-omap-h63xx.git [NETFILTER]: nf_conntrack_ftp: fix missing helper mask initilization Signed-off-by: Patrick McHardy --- diff --git a/net/netfilter/nf_conntrack_ftp.c b/net/netfilter/nf_conntrack_ftp.c index 10836fc22a4..05cb78ca90a 100644 --- 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;