From 8a893163781c618620c25372638d7c80eb80595b Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Thu, 6 Jul 2017 23:47:15 +0000 Subject: [PATCH] bgpd: show bgp ipv4 label-unicast does not provide any output Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp Ticket: CM-16957 --- bgpd/bgp_route.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index ac820fb34f..44e5af578d 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -10240,6 +10240,10 @@ static int bgp_show_neighbor_route(struct vty *vty, struct peer *peer, afi_t afi, safi_t safi, enum bgp_show_type type, u_char use_json) { + /* labeled-unicast routes live in the unicast table */ + if (safi == SAFI_LABELED_UNICAST) + safi = SAFI_UNICAST; + if (!peer || !peer->afc[afi][safi]) { if (use_json) { json_object *json_no = NULL; -- 2.39.5