ioam: declare export_node instead of defining it in header file 05/5405/2
authorDamjan Marion <[email protected]>
Thu, 16 Feb 2017 19:24:09 +0000 (20:24 +0100)
committerDave Barach <[email protected]>
Fri, 17 Feb 2017 00:26:01 +0000 (00:26 +0000)
Change-Id: Ib1760312df759c29a2c2220e7b783af311d91d1a
Signed-off-by: Damjan Marion <[email protected]>
src/plugins/ioam/export/ioam_export.c

index 1112ce4..eeeb973 100644 (file)
@@ -83,7 +83,7 @@ _(IOAM_EXPORT_IP6_ENABLE_DISABLE, ioam_export_ip6_enable_disable)
 
 ioam_export_main_t ioam_export_main;
 
-vlib_node_registration_t export_node;
+extern vlib_node_registration_t export_node;
 
 /* Action function shared between message handler and debug CLI */