diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2017-08-10 17:02:58 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2017-09-07 11:33:06 +0000 |
commit | 6be72cd89a3068130fea1e0a44f2885bff599c55 (patch) | |
tree | 622bb467a0491cf271576f209a8555f1e9597c34 /src/vlibsocket/sock_test.c | |
parent | 4802632dd1da02c021af99a179264f4a9a163f36 (diff) |
acl-plugin: match index set to first portrange element if non-first portrange matches on the same hash key (VPP-937)
Multiple portranges that land on the same hash key will always report the match
on the first portrange - even when the subsequent portranges have matched.
Test escape, so make a corresponding test case and fix the code so it passes.
(the commit on stable/1707 has erroneously mentioned VPP-938 jira ticket)
Change-Id: Idbeb8a122252ead2468f5f9dbaf72cf0e8bb78f1
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
(cherry picked from commit fb088f0a201270e949469c915c529d75ad13353e)
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vlibsocket/sock_test.c')
0 files changed, 0 insertions, 0 deletions