Re: [PATCH iproute2-next 1/1] tc: jsonify nat action

2018-06-20 Thread David Ahern
On 6/18/18 12:57 PM, Keara Leibovitz wrote: > Add json output support for nat action > ... > > Signed-off-by: Keara Leibovitz > --- > tc/m_nat.c | 32 +++- > 1 file changed, 19 insertions(+), 13 deletions(-) > applied to iproute2-next. Thanks

[PATCH iproute2-next 1/1] tc: jsonify nat action

2018-06-18 Thread Keara Leibovitz
Add json output support for nat action Example output: ~$ $TC actions add action nat egress 10.10.10.1 20.20.20.2 index 2 ~$ $TC actions add action nat ingress 100.100.100.1/32 200.200.200.2 \ continue index 99 ~$ $TC -j actions ls action nat [{ "total acts": 2 }, { "acti