summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index e10e7dcd62..6a546cdbe1 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -10744,6 +10744,7 @@ void route_vty_out_detail(struct vty *vty, struct bgp *bgp, struct bgp_dest *bn,
community_include(attr->community, COMMUNITY_LLGR_STALE)) {
unsigned long llgr_remaining = thread_timer_remain_second(
path->peer->t_llgr_stale[afi][safi]);
+
if (json_paths) {
json_object_int_add(json_path, "llgrSecondsRemaining",
llgr_remaining);