aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/arping/arping_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/arping/arping_api.c')
-rw-r--r--src/plugins/arping/arping_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/arping/arping_api.c b/src/plugins/arping/arping_api.c
index 015c6148f5e..e0c47c7cf33 100644
--- a/src/plugins/arping/arping_api.c
+++ b/src/plugins/arping/arping_api.c
@@ -31,6 +31,7 @@
#include <arping/arping.api_enum.h>
#include <arping/arping.api_types.h>
+#define REPLY_MSG_ID_BASE (am->msg_id_base)
#include <vlibapi/api_helper_macros.h>
static void
@@ -57,7 +58,7 @@ vl_api_arping_t_handler (vl_api_arping_t *mp)
BAD_SW_IF_INDEX_LABEL;
- REPLY_MACRO2 (VL_API_ARPING_REPLY + am->msg_id_base,
+ REPLY_MACRO2 (VL_API_ARPING_REPLY,
({ rmp->reply_count = ntohl (args.reply_count); }));
}