diff options
author | Florian Westphal <fw@strlen.de> | 2022-04-09 15:58:29 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-04-13 13:43:37 +0200 |
commit | 5e393ea1fc0ad6b59e90103bf83e93b2449d519e (patch) | |
tree | 6f300e461b22905be68d93e5009b140e21a2dd2f /tests/shell | |
parent | 2fb4d7ead460ec4fb00bd317d93a5e076f825b39 (diff) |
segtree: add string "range" reversal support
Previous commits allows to use set key as a range, i.e.
key ifname
flags interval
elements = { eth* }
and then have it match on any interface starting with 'eth'.
Listing is broken however, we need to reverse-translate the (128bit)
number back to a string.
'eth*' is stored as interval
00687465 0000000 .. 00697465 0000000, i.e. "eth-eti",
this adds the needed endianess fixups.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell')
0 files changed, 0 insertions, 0 deletions