From: Daniel Walton Date: Thu, 6 Jul 2017 23:47:15 +0000 (+0000) Subject: bgpd: show bgp ipv4 label-unicast does not provide any output X-Git-Tag: frr-4.0-dev~431^2~14 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=8a893163781c618620c25372638d7c80eb80595b;p=mirror%2Ffrr.git bgpd: show bgp ipv4 label-unicast does not provide any output Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp Ticket: CM-16957 --- 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;