Re: [PATCH iproute2-next v2] tc: pedit: Support JSON dumping

2020-04-29 Thread David Ahern
On 4/28/20 5:44 AM, Petr Machata wrote: > The action pedit does not currently support dumping to JSON. Convert > print_pedit() to the print_* family of functions so that dumping is correct > both in plain and JSON mode. In plain mode, the output is character for > character the same as it was befor

[PATCH iproute2-next v2] tc: pedit: Support JSON dumping

2020-04-28 Thread Petr Machata
The action pedit does not currently support dumping to JSON. Convert print_pedit() to the print_* family of functions so that dumping is correct both in plain and JSON mode. In plain mode, the output is character for character the same as it was before. In JSON mode, this is an example dump: $ tc