Skip to content

Commit e0dd764

Browse files
authored
Merge pull request #19284 from opensourcerouting/fix/backport_a316b71c28d8577ffc79fb79c597744f3757edac_10.2
bgpd: [GR] fixed selectionDeferralTimer to display select_defer_time val
2 parents c49f1b2 + 522c134 commit e0dd764

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bgpd/bgp_vty.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13232,9 +13232,8 @@ static void bgp_show_neighbor_graceful_restart_capability_per_afi_safi(
1323213232
*/
1323313233
if (CHECK_FLAG(peer->flags,
1323413234
PEER_FLAG_GRACEFUL_RESTART)) {
13235-
json_object_int_add(json_timer,
13236-
"selectionDeferralTimer",
13237-
peer->bgp->stalepath_time);
13235+
json_object_int_add(json_timer, "selectionDeferralTimer",
13236+
peer->bgp->select_defer_time);
1323813237
}
1323913238

1324013239
if (peer->bgp->gr_info[afi][safi].t_select_deferral !=

0 commit comments

Comments
 (0)