summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-12-02 19:57:04 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-05 15:48:46 +0100
commit612630321db78dc08b438b7df99958b939c92f0b (patch)
tree18fdf3caf9211a146aa256a8d2d8eef7ec7066c9 /bgpd
parentbgpd: Fix route node unlock when clearing adj-out (diff)
downloadfrr-612630321db78dc08b438b7df99958b939c92f0b.tar.xz
frr-612630321db78dc08b438b7df99958b939c92f0b.zip
bgpd: Fix 'show ip bgp' to not change it's output
For unicast routes do not change the output of the 'show ip bgp' command. This will allow people with existing scripts to continue to work. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 23ecefa6e..c2c63049a 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -6329,7 +6329,7 @@ route_vty_out (struct vty *vty, struct prefix *p,
vty_out (vty, "%s", VTY_NEWLINE);
#if ENABLE_BGP_VNC
/* prints an additional line, indented, with VNC info, if present */
- if ((safi == SAFI_MPLS_VPN) || (safi == SAFI_ENCAP) || (safi == SAFI_UNICAST))
+ if ((safi == SAFI_MPLS_VPN) || (safi == SAFI_ENCAP))
rfapi_vty_out_vncinfo(vty, p, binfo, safi);
#endif
}