MEDIUM: stktable/cli: simplify entry key handling
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 6 Nov 2023 16:53:00 +0000 (17:53 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 8 Nov 2023 15:38:06 +0000 (16:38 +0100)
commit0a47e6bcccea056782fe3911a99e498cd4743ea3
treeeee1e6f1472b446bd02886f4fc62e7cbe6d55061
parentc6826b957053e47932ed0560a9a562d707f7dedf
MEDIUM: stktable/cli: simplify entry key handling

Make use of smp_to_stkey() in table_process_entry_per_key() to simplify
key handling and leverage auto type conversions from sample API.

One noticeable side effect is that integer input checks will be relaxed
given that c_str2int() sample conv is more permissible than the integrated
table_process_entry_per_key() integer parser.
src/stick_table.c