Skip to content

Commit 4f89c0a

Browse files
authored
Merge pull request #17273 from FRRouting/mergify/bp/stable/10.1/pr-17243
bgpd: fix display of local label in show bgp (backport #17243)
2 parents e4c2287 + 7b1b5e2 commit 4f89c0a

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

1216812168
mpls_lse_decode(dest->local_label, &label, &ttl, &exp, &bos);
1216912169

12170-
has_valid_label = bgp_is_valid_label(&label);
12170+
has_valid_label = bgp_is_valid_label(&dest->local_label);
1217112171

1217212172
if (safi == SAFI_EVPN) {
1217312173
if (!json) {

0 commit comments

Comments
 (0)