Re: [PATCH iproute2] erspan: fix JSON output
From: Christian Pössinger <hidden>
Date: 2021-04-07 09:09:53
From: Christian Pössinger <hidden>
Date: 2021-04-07 09:09:53
On Tue, Apr 6, 2021 at 9:28 AM Stephen Hemminger [off-list ref] wrote:
The format for erspan output is not valid JSON.
The direction should be value and erspan_dir should be the key.
Fixes: 289763626721 ("erspan: add erspan version II support")
Cc: u9012063@gmail.com
Reported-by: Christian Pössinger <redacted>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---I have rebuild iproute2 with the mentioned changes above but I can not confirm this working. The behavior is still a missing value for the JSON "erspan_dir" key. -- Christian