Skip to content

Commit 94b18da

Browse files
authored
Merge pull request #19285 from opensourcerouting/fix/backport_a316b71c28d8577ffc79fb79c597744f3757edac_10.1
bgpd: [GR] fixed selectionDeferralTimer to display select_defer_time val
2 parents 8b8691d + 1fe05a0 commit 94b18da

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
@@ -13086,9 +13086,8 @@ static void bgp_show_neighbor_graceful_restart_capability_per_afi_safi(
1308613086
*/
1308713087
if (CHECK_FLAG(peer->flags,
1308813088
PEER_FLAG_GRACEFUL_RESTART)) {
13089-
json_object_int_add(json_timer,
13090-
"selectionDeferralTimer",
13091-
peer->bgp->stalepath_time);
13089+
json_object_int_add(json_timer, "selectionDeferralTimer",
13090+
peer->bgp->select_defer_time);
1309213091
}
1309313092

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

0 commit comments

Comments
 (0)