acl: fix an off-by-one error in fa_acl_match_ip6_addr which does masked IPv6 comparison 96/42596/2
authorAndrew Yourtchenko <[email protected]>
Wed, 26 Mar 2025 15:52:25 +0000 (16:52 +0100)
committerAndrew Yourtchenko <[email protected]>
Wed, 26 Mar 2025 16:01:36 +0000 (17:01 +0100)
commit7e295a42f0fd91a266a063b60935f7c8c3f9919e
treee7982e066a1f3fe640a242dbb1c8933850e22f2e
parent8a5add5c00479d337e4d3428d7c98de4d843c0d3
acl: fix an off-by-one error in fa_acl_match_ip6_addr which does masked IPv6 comparison

The comparison code for the bit remainder (non-zero part of prefix length modulo 8)
was incorrectly looking one byte further than it should.

Type: fix
Change-Id: Idd27d218e77eff5f368f2ba0a5cefb86ecf605f5
Signed-off-by: Andrew Yourtchenko <[email protected]>
src/plugins/acl/public_inlines.h