Skip to content

Commit 1668f32

Browse files
authored
Merge pull request #17243 from louis-6wind/fix-bgp-local-label
bgpd: fix display of local label in show bgp
2 parents e4df480 + e7b3276 commit 1668f32

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

1233012330
mpls_lse_decode(dest->local_label, &label, &ttl, &exp, &bos);
1233112331

12332-
has_valid_label = bgp_is_valid_label(&label);
12332+
has_valid_label = bgp_is_valid_label(&dest->local_label);
1233312333

1233412334
if (safi == SAFI_EVPN) {
1233512335
if (!json) {

0 commit comments

Comments
 (0)