diff options
author | Gao Feng <fgao@ikuai8.com> | 2016-11-25 12:32:07 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-12-06 21:48:20 +0100 |
commit | 1ed9887ee31a38f265124c963f8e5b8a1ffb02e3 (patch) | |
tree | c8a5bbd7e7119877fc54d141b02db9b0c5533db1 /net/ipv4/tcp_cong.c | |
parent | 1814096980bbe546c4384b7b064126cbe7d40d30 (diff) |
netfilter: xt_multiport: Fix wrong unmatch result with multiple ports
I lost one test case in the last commit for xt_multiport.
For example, the rule is "-m multiport --dports 22,80,443".
When first port is unmatched and the second is matched, the curent codes
could not return the right result.
It would return false directly when the first port is unmatched.
Fixes: dd2602d00f80 ("netfilter: xt_multiport: Use switch case instead
of multiple condition checks")
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/tcp_cong.c')
0 files changed, 0 insertions, 0 deletions