summaryrefslogtreecommitdiffstats
path: root/iptables/tests/shell/testcases/ip6tables/0004-address-masks_0
Commit message (Collapse)AuthorAgeFilesLines
* nft: Fix bitwise expression avoidance detectionPhil Sutter2021-03-091-0/+24
Byte-boundary prefix detection was too sloppy: Any data following the first zero-byte was ignored. Add a follow-up loop making sure there are no stray bits in the designated host part. Fixes: 323259001d617 ("nft: Optimize class-based IP prefix matches") Signed-off-by: Phil Sutter <phil@nwl.cc>