diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-07-26 12:27:37 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-07-26 12:28:56 -0300 | 
| commit | 163076686edf41dfd77b889de1227334977ba070 (patch) | |
| tree | 3dc0c62a8d5656867c5f7e1db9960c2af8e010ba /bgpd/bgp_vpn.c | |
| parent | 66a43eb221d8aed1194269f25157741a09083e10 (diff) | |
bgpd/ospfd: fix json leaks and blank output
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_vpn.c')
| -rw-r--r-- | bgpd/bgp_vpn.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_vpn.c b/bgpd/bgp_vpn.c index ca98ff0668..4661e195a2 100644 --- a/bgpd/bgp_vpn.c +++ b/bgpd/bgp_vpn.c @@ -51,6 +51,8 @@ int show_adj_route_vpn(struct vty *vty, struct peer *peer,  	if (bgp == NULL) {  		if (!use_json)  			vty_out(vty, "No BGP process is configured\n"); +		else +			vty_out(vty, "{}\n");  		return CMD_WARNING;  	}  | 
