Skip to content

Commit 4723daf

Browse files
authored
Merge pull request #17274 from FRRouting/mergify/bp/stable/10.0/pr-17243
bgpd: fix display of local label in show bgp (backport #17243)
2 parents 9f1f461 + c8c11c0 commit 4723daf

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

1185111851
mpls_lse_decode(dest->local_label, &label, &ttl, &exp, &bos);
1185211852

11853-
has_valid_label = bgp_is_valid_label(&label);
11853+
has_valid_label = bgp_is_valid_label(&dest->local_label);
1185411854

1185511855
if (safi == SAFI_EVPN) {
1185611856
if (!json) {

0 commit comments

Comments
 (0)