]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/tc_util.c
tc_util: introduce a function to print JSON/non-JSON masked numbers
authorEli Britstein <elibr@mellanox.com>
Thu, 14 Nov 2019 12:44:37 +0000 (14:44 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 19 Nov 2019 19:36:05 +0000 (11:36 -0800)
commit04b215015ba8dd214d8dcabc8b958036845f5f5d
tree8572090fe25f9996c94177d0a441a4f714d84261
parentcc08619c3c64c2a2705642cb89af177d6cb0fcfc
tc_util: introduce a function to print JSON/non-JSON masked numbers

Introduce a function to print masked number with a different output for
JSON or non-JSON methods, as a pre-step towards printing numbers using
this common function.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/tc_util.c
tc/tc_util.h