Skip to content

Commit e09ce80

Browse files
authored
Merge pull request #17275 from FRRouting/mergify/bp/stable/9.1/pr-17243
bgpd: fix display of local label in show bgp (backport #17243)
2 parents 1c1f033 + fb1df2e commit e09ce80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bgpd/bgp_route.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -11789,7 +11789,7 @@ void route_vty_out_detail_header(struct vty *vty, struct bgp *bgp,
1178911789

1179011790
mpls_lse_decode(dest->local_label, &label, &ttl, &exp, &bos);
1179111791

11792-
has_valid_label = bgp_is_valid_label(&label);
11792+
has_valid_label = bgp_is_valid_label(&dest->local_label);
1179311793

1179411794
if (safi == SAFI_EVPN) {
1179511795
if (!json) {

0 commit comments

Comments
 (0)