diff options
author | Jon Loeliger <jdl@netgate.com> | 2021-06-17 17:30:49 -0400 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2021-06-23 20:29:12 +0000 |
commit | c6fe1e87c63df63726af61b8e128a8525a547252 (patch) | |
tree | 3cea29ab0c296a4985795190eb4c15625f06814f /src/plugins/mss_clamp/mss_clamp_api.c | |
parent | e506fbc9fef063e437425f5c7f2d9b1e26d90766 (diff) |
mss_clamp: iterate enabled direction as a vector, not pool
Type: fix
Fixes: bf55e9931ce203049385fbf55dde291ead556679
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Change-Id: I5410a7a5a8cdc1d41abcc42fe5b42e6e2991dc06
Diffstat (limited to 'src/plugins/mss_clamp/mss_clamp_api.c')
-rw-r--r-- | src/plugins/mss_clamp/mss_clamp_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |