diff options
Diffstat (limited to 'src/plugins/l2tp/l2tp_test.c')
-rw-r--r-- | src/plugins/l2tp/l2tp_test.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/plugins/l2tp/l2tp_test.c b/src/plugins/l2tp/l2tp_test.c index 87abf5d0a2a..33691313cbe 100644 --- a/src/plugins/l2tp/l2tp_test.c +++ b/src/plugins/l2tp/l2tp_test.c @@ -26,7 +26,7 @@ /* define message IDs */ #include <l2tp/l2tp.api_enum.h> #include <l2tp/l2tp.api_types.h> -#include <vpp/api/vpe.api_types.h> +#include <vlibmemory/vlib.api_types.h> typedef struct { @@ -41,13 +41,11 @@ l2tp_test_main_t l2tp_test_main; #define __plugin_msg_base l2tp_test_main.msg_id_base #include <vlibapi/vat_helper_macros.h> -/* Macro to finish up custom dump fns */ -#define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__) -#define FINISH \ - vec_add1 (s, 0); \ - vl_print (handle, (char *)s); \ - vec_free (s); \ - return handle; +#define FINISH \ + vec_add1 (s, 0); \ + vlib_cli_output (handle, (char *) s); \ + vec_free (s); \ + return handle; static void vl_api_l2tpv3_create_tunnel_reply_t_handler (vl_api_l2tpv3_create_tunnel_reply_t * mp) |