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:
Donatas Abraitis 2024-10-28 16:33:50 +02:00 committed by GitHub
commit 1668f3262a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {