]> git.ipfire.org Git - thirdparty/iproute2.git/commit
f_flower: simplify cfm dump function
authorZahari Doychev <zdoychev@maxlinear.com>
Thu, 29 Jun 2023 19:57:36 +0000 (21:57 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 3 Jul 2023 16:02:22 +0000 (09:02 -0700)
commit19f44c06e5e276a35758bb154fa4eaddf9f3b5b2
treee2cf849f06e2f8d74f951c9bb89bf29da496b760
parentbbfccc11e1c4399f46921365b36807c3791be536
f_flower: simplify cfm dump function

The standard print function can be used to print the cfm attributes in
both standard and json use cases. In this way no string buffer is needed
which simplifies the code.

Signed-off-by: Zahari Doychev <zdoychev@maxlinear.com>
Reviewed-by: Petr Machata <me@pmachata.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/f_flower.c