aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrenfong.wang <drenfong.wang@intel.com>2019-02-23 03:50:20 +0000
committerdrenfong.wang <drenfong.wang@intel.com>2019-02-23 03:53:55 +0000
commite74f9b38302b1b386cefa3b40e6579dfaf7235a2 (patch)
tree21360f86d751e9dae4f41b9cbf99bf2923770349
parent0443951623b23abd9257876ab942443822427c57 (diff)
modify the undefined symbol
Change-Id: Id0bda4a2accde3f76e212e47385a82984ca4040c Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
-rw-r--r--src/plugins/sc_plugins.c4
-rw-r--r--src/scvpp/src/sc_vpp_comm.h2
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 <sysrepo/plugins.h> //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