]> git.proxmox.com Git - mirror_frr.git/commit
lib: Fix vrf check output to only have 1 line
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 31 Jul 2018 19:28:04 +0000 (15:28 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 Aug 2018 14:09:09 +0000 (10:09 -0400)
commit410a92bc2b2b047f0d532612453f9d591c2d1fa3
treeeb14d507a3d136d9b8530225bf874d8aa04505a6
parent302628bcad9a847869b407258928d693473e62ea
lib: Fix vrf check output to only have 1 line

When we issue this command, we are getting:

robot# show ip route vrf green json
{}
% VRF green not found
robot# show ip route vrf green
% VRF green not found
% VRF green not found
robot#

Fix the command so it only displays one line of output
for json or non-json output.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/vrf.h