diff options
author | Patrick McHardy <kaber@trash.net> | 2006-11-29 02:35:14 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:31:15 -0800 |
commit | d73468533451fd896324058d9ba649c11ba3e3ee (patch) | |
tree | c1205046bd120a31703f4029e70084f65a674158 /net | |
parent | be00c8e48993368663e2714bd1e7c886b7736406 (diff) | |
download | linux-d73468533451fd896324058d9ba649c11ba3e3ee.tar.gz linux-d73468533451fd896324058d9ba649c11ba3e3ee.tar.bz2 linux-d73468533451fd896324058d9ba649c11ba3e3ee.zip |
[NETFILTER]: nf_conntrack_ftp: fix missing helper mask initilization
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nf_conntrack_ftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_ftp.c b/net/netfilter/nf_conntrack_ftp.c index 10836fc22a44..05cb78ca90ae 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; |