From e74f9b38302b1b386cefa3b40e6579dfaf7235a2 Mon Sep 17 00:00:00 2001 From: "drenfong.wang" Date: Sat, 23 Feb 2019 03:50:20 +0000 Subject: modify the undefined symbol Change-Id: Id0bda4a2accde3f76e212e47385a82984ca4040c Signed-off-by: drenfong.wang --- src/plugins/sc_plugins.c | 4 ++-- src/scvpp/src/sc_vpp_comm.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/sc_plugins.c b/src/plugins/sc_plugins.c index d14ed30..66790a1 100644 --- a/src/plugins/sc_plugins.c +++ b/src/plugins/sc_plugins.c @@ -26,7 +26,7 @@ DEFINE_VAPI_MSG_IDS_VPE_API_JSON; DEFINE_VAPI_MSG_IDS_INTERFACE_API_JSON; DEFINE_VAPI_MSG_IDS_L2_API_JSON; DEFINE_VAPI_MSG_IDS_IP_API_JSON; -DEFINE_VAPI_MSG_IDS_TAP_API_JSON; +DEFINE_VAPI_MSG_IDS_TAPV2_API_JSON; DEFINE_VAPI_MSG_IDS_IPSEC_API_JSON; DEFINE_VAPI_MSG_IDS_VXLAN_API_JSON; @@ -51,7 +51,7 @@ int sr_plugin_init_cb(sr_session_ctx_t *session, void **private_ctx) //SC_REGISTER_RPC_EVT_HANDLER(sc_vxlan_subscribe_tunnel_events); //SC_REGISTER_RPC_EVT_HANDLER(sc_l2_bridge_domain_add_del_subscribe_events); //SC_REGISTER_RPC_EVT_HANDLER(sc_l2_interface_set_l2_bridge_subscribe_events); - + //INTERFACE ietf_interface_subscribe_events(session, &subscription); diff --git a/src/scvpp/src/sc_vpp_comm.h b/src/scvpp/src/sc_vpp_comm.h index 0041b8f..3799571 100644 --- a/src/scvpp/src/sc_vpp_comm.h +++ b/src/scvpp/src/sc_vpp_comm.h @@ -25,7 +25,7 @@ DEFINE_VAPI_MSG_IDS_VPE_API_JSON; #include //for SC_LOG_DBG #define VPP_INTFC_NAME_LEN 64 -#define VPP_TAP_NAME_LEN VPP_INTFC_NAME_LEN +#define VPP_TAPV2_NAME_LEN VPP_INTFC_NAME_LEN #define VPP_IP4_ADDRESS_LEN 4 #define VPP_IP6_ADDRESS_LEN 16 #define VPP_IP4_ADDRESS_STRING_LEN 16 -- cgit 1.2.3-korg