Merge pull request #17273 from FRRouting/mergify/bp/stable/10.1/pr-17243

bgpd: fix display of local label in show bgp (backport #17243)
This commit is contained in:
Jafar Al-Gharaibeh 2024-10-28 12:37:45 -05:00 committed by GitHub
commit 4f89c0a289
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12167,7 +12167,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) {