mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 19:05:37 +00:00
zebra: Use appropriate output function for label printing
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
42567e0011
commit
fc5cca9fa4
@ -2819,8 +2819,13 @@ void zebra_mpls_print_lsp_table(struct vty *vty, struct zebra_vrf *zvrf,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (nexthop->type != NEXTHOP_TYPE_IFINDEX)
|
if (nexthop->type != NEXTHOP_TYPE_IFINDEX)
|
||||||
vty_out(vty, " %8d\n",
|
vty_out(vty, " %8s\n",
|
||||||
nexthop->nh_label->label[0]);
|
mpls_label2str(
|
||||||
|
nexthop->nh_label
|
||||||
|
->num_labels,
|
||||||
|
&nexthop->nh_label
|
||||||
|
->label[0],
|
||||||
|
buf, BUFSIZ, 1));
|
||||||
else
|
else
|
||||||
vty_out(vty, "\n");
|
vty_out(vty, "\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user