mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge pull request #17243 from louis-6wind/fix-bgp-local-label
bgpd: fix display of local label in show bgp
This commit is contained in:
commit
1668f3262a
|
@ -12329,7 +12329,7 @@ void route_vty_out_detail_header(struct vty *vty, struct bgp *bgp,
|
|||
|
||||
mpls_lse_decode(dest->local_label, &label, &ttl, &exp, &bos);
|
||||
|
||||
has_valid_label = bgp_is_valid_label(&label);
|
||||
has_valid_label = bgp_is_valid_label(&dest->local_label);
|
||||
|
||||
if (safi == SAFI_EVPN) {
|
||||
if (!json) {
|
||||
|
|
Loading…
Reference in a new issue