]> git.proxmox.com Git - mirror_frr.git/commit
lib,zebra: fix json output when vrf1 when not active
authorNathan Van Gheem <vangheem@gmail.com>
Fri, 27 Jul 2018 14:09:38 +0000 (10:09 -0400)
committerNathan Van Gheem <vangheem@gmail.com>
Fri, 27 Jul 2018 14:17:03 +0000 (10:17 -0400)
commitec1db5882dae354efa5d8af8ce99edfcabd22186
treee8d12514365cacad3d4d37456dc6e156566bbb11
parent298de6ef18404624b0771411b3f1e1aa9cd951cf
lib,zebra: fix json output when vrf1 when not active

When I did a show ip route with `json` on a vrf when it didn't exist,
frr would output invalid json.

Signed-off-by: Nathan Van Gheem <nathan@cumulusnetworks.com>
lib/if.c
lib/vrf.h
zebra/interface.c
zebra/router-id.c
zebra/zebra_vty.c