diff options
author | Gao Feng <[email protected]> | 2016-11-25 12:32:07 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2016-12-06 21:48:20 +0100 |
commit | 1ed9887ee31a38f265124c963f8e5b8a1ffb02e3 (patch) | |
tree | c8a5bbd7e7119877fc54d141b02db9b0c5533db1 /tools/perf/util/scripting-engines/trace-event-python.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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions