Skip to content

Commit 60173c9

Browse files
authored
Merge pull request #17276 from FRRouting/mergify/bp/stable/9.0/pr-17243
bgpd: fix display of local label in show bgp (backport #17243)
2 parents 72e3068 + e4f158f commit 60173c9

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

1194211942
mpls_lse_decode(dest->local_label, &label, &ttl, &exp, &bos);
1194311943

11944-
has_valid_label = bgp_is_valid_label(&label);
11944+
has_valid_label = bgp_is_valid_label(&dest->local_label);
1194511945

1194611946
if (safi == SAFI_EVPN) {
1194711947
if (!json) {

0 commit comments

Comments
 (0)