summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/tap/tapv2_api.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2021-09-22 20:03:28 +0000
committerBeno�t Ganne <bganne@cisco.com>2021-09-27 09:30:42 +0000
commitb21fd4b7e09455f199495e7160d5537195e36046 (patch)
tree6eb5b697bb7fd963cb6bf79e9d3ef70656b50bcb /src/vnet/devices/tap/tapv2_api.c
parent176373caed97601baefa2d23a5173461bf87734a (diff)
tap: move the api msg_id_base to tap_main_t
Type: fix Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: Ia4065550a7ad1109e3a2592ef2c21b5e23fa85b5
Diffstat (limited to 'src/vnet/devices/tap/tapv2_api.c')
-rw-r--r--src/vnet/devices/tap/tapv2_api.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vnet/devices/tap/tapv2_api.c b/src/vnet/devices/tap/tapv2_api.c
index 08dca0dc92b..64a0088136b 100644
--- a/src/vnet/devices/tap/tapv2_api.c
+++ b/src/vnet/devices/tap/tapv2_api.c
@@ -32,11 +32,9 @@
#include <vnet/devices/tap/tapv2.api_enum.h>
#include <vnet/devices/tap/tapv2.api_types.h>
-#define REPLY_MSG_ID_BASE msg_id_base
+#define REPLY_MSG_ID_BASE tap_main.msg_id_base
#include <vlibapi/api_helper_macros.h>
-static u16 msg_id_base;
-
static void
vl_api_tap_create_v2_t_handler (vl_api_tap_create_v2_t * mp)
{