diff options
author | drenfong.wang <drenfong.wang@intel.com> | 2019-02-14 08:30:47 +0000 |
---|---|---|
committer | drenfong.wang <drenfong.wang@intel.com> | 2019-02-14 08:56:48 +0000 |
commit | 588f89ca7e41de4034c3b16a85a171dae9eb3281 (patch) | |
tree | 8d541fc6ec73170a3af1667cca2a26016bba60e3 /src/plugins | |
parent | 69da1a8a429c57edeac94e48e38e0758556ca3bb (diff) |
change the include vapi header name
Change-Id: I7ac80f29421e5a7ba9daac4e07fcb425ddd7f671
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/sc_plugins.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/sc_plugins.c b/src/plugins/sc_plugins.c index 1bf27ea..d14ed30 100644 --- a/src/plugins/sc_plugins.c +++ b/src/plugins/sc_plugins.c @@ -17,7 +17,7 @@ #include <vapi/interface.api.vapi.h> #include <vapi/l2.api.vapi.h> #include <vapi/ip.api.vapi.h> -#include <vapi/tap.api.vapi.h> +#include <vapi/tapv2.api.vapi.h> #include <vapi/ipsec.api.vapi.h> #include <vapi/vxlan.api.vapi.h> #include <vnet/interface.h> @@ -51,7 +51,8 @@ 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); |