From: Jon Loeliger Date: Thu, 17 Jun 2021 21:30:49 +0000 (-0400) Subject: mss_clamp: iterate enabled direction as a vector, not pool X-Git-Tag: v22.02-rc0~264 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F32773%2F2;p=vpp.git mss_clamp: iterate enabled direction as a vector, not pool Type: fix Fixes: bf55e9931ce203049385fbf55dde291ead556679 Signed-off-by: Jon Loeliger Change-Id: I5410a7a5a8cdc1d41abcc42fe5b42e6e2991dc06 --- diff --git a/src/plugins/mss_clamp/mss_clamp_api.c b/src/plugins/mss_clamp/mss_clamp_api.c index cb47cd6ce06..27804d6fb1a 100644 --- a/src/plugins/mss_clamp/mss_clamp_api.c +++ b/src/plugins/mss_clamp/mss_clamp_api.c @@ -92,8 +92,8 @@ vl_api_mss_clamp_get_t_handler (vl_api_mss_clamp_get_t *mp) return; } - REPLY_AND_DETAILS_MACRO ( - VL_API_MSS_CLAMP_GET_REPLY, cm->dir_enabled4, + REPLY_AND_DETAILS_VEC_MACRO ( + VL_API_MSS_CLAMP_GET_REPLY, cm->dir_enabled4, mp, rmp, rv, ({ send_mss_clamp_details (cursor, reg, mp->context); })); } else