Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-16957
afi_t afi, safi_t safi,
enum bgp_show_type type, u_char use_json)
{
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;
if (!peer || !peer->afc[afi][safi]) {
if (use_json) {
json_object *json_no = NULL;