From ffd582515ce0e12b11c0d23e080ff64c20301073 Mon Sep 17 00:00:00 2001 From: Hongjun Ni Date: Tue, 28 Mar 2017 18:08:52 +0800 Subject: FIx compile issue for netlink and router plugin Change-Id: I8a6f069af4acce97fd0ee262c217af645afd476d Signed-off-by: Hongjun Ni Signed-off-by: Dave Barach --- netlink/test/test.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'netlink/test/test.c') diff --git a/netlink/test/test.c b/netlink/test/test.c index 96f49f8..2922a40 100644 --- a/netlink/test/test.c +++ b/netlink/test/test.c @@ -200,11 +200,10 @@ VLIB_CLI_COMMAND (mapper_iface_command, static) = { .function = mapper_iface_command_fn, }; -clib_error_t * -vlib_plugin_register (vlib_main_t * vm, vnet_plugin_handoff_t * h, - int from_early_init) -{ - clib_warning("Loaded module"); - return 0; -} +/* *INDENT-OFF* */ +VLIB_PLUGIN_REGISTER () = { + // .version = VPP_BUILD_VER, FIXME + .description = "netlink", +}; +/* *INDENT-ON* */ -- cgit 1.2.3-korg