Skip to content

Commit 36527ba

Browse files
authored
Merge pull request #17272 from FRRouting/mergify/bp/dev/10.2/pr-17243
bgpd: fix display of local label in show bgp (backport #17243)
2 parents f4f0e2c + ebe0388 commit 36527ba

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
@@ -12287,7 +12287,7 @@ void route_vty_out_detail_header(struct vty *vty, struct bgp *bgp,
1228712287

1228812288
mpls_lse_decode(dest->local_label, &label, &ttl, &exp, &bos);
1228912289

12290-
has_valid_label = bgp_is_valid_label(&label);
12290+
has_valid_label = bgp_is_valid_label(&dest->local_label);
1229112291

1229212292
if (safi == SAFI_EVPN) {
1229312293
if (!json) {

0 commit comments

Comments
 (0)