fix issue with missing sample_main in sample plugin
[vpp.git] / src / examples / sample-plugin / sample / sample.c
index 3929ac2..91e8939 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <vlibapi/api.h>
 #include <vlibmemory/api.h>
-#include <vlibsocket/api.h>
 
 /* define message IDs */
 #include <sample/sample_msg_enum.h>
@@ -64,6 +63,8 @@ VLIB_PLUGIN_REGISTER () = {
 };
 /* *INDENT-ON* */
 
+sample_main_t sample_main;
+
 /**
  * @brief Enable/disable the macswap plugin. 
  *