On Mon, 18 Mar 2019 18:19:29 +0100
Matteo Croce wrote:
> ip route generates an invalid JSON if the route type has to be printed,
> eg. when detailed mode is active, or the type is different that unicast:
>
> $ ip -d -j -p route show
> [ {"unicast",
> "dst": "192.168.122.0/24"
ip route generates an invalid JSON if the route type has to be printed,
eg. when detailed mode is active, or the type is different that unicast:
$ ip -d -j -p route show
[ {"unicast",
"dst": "192.168.122.0/24",
"dev": "virbr0",
"protocol": "kernel",