summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index 4a553f4718..2517773dc4 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -1166,6 +1166,10 @@ static int zapi_nhg_encode(struct stream *s, int cmd, struct zapi_nhg *api_nhg)
stream_putw(s, api_nhg->proto);
stream_putl(s, api_nhg->id);
+ stream_putw(s, api_nhg->resilience.buckets);
+ stream_putl(s, api_nhg->resilience.idle_timer);
+ stream_putl(s, api_nhg->resilience.unbalanced_timer);
+
if (cmd == ZEBRA_NHG_ADD) {
/* Nexthops */
zapi_nexthop_group_sort(api_nhg->nexthops,