]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Fix 'show ip bgp' to not change it's output
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 2 Dec 2016 18:57:04 +0000 (13:57 -0500)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 5 Dec 2016 14:48:46 +0000 (15:48 +0100)
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>
bgpd/bgp_route.c

index 23ecefa6e23e028f72eff121558d9331f7c40d19..c2c63049a8014a2fbf9a7556dc9db0cd9afbfdb5 100644 (file)
@@ -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
     }