summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-07-20 16:01:02 +0200
committerDamjan Marion <dmarion@me.com>2018-07-20 15:32:19 +0000
commit3e13c092a59a575ab8fee24c54762e47ae8c9850 (patch)
tree5cd27d88b6ef4a3354578bc4fdea264a372e4e61
parent8d753f906ecdd152af1e524919e99bd9ab45de46 (diff)
fix issue with missing sample_main in sample plugin
Change-Id: Ia17511e3997cdcf1d0991e62e8e2d3fb8812d133 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--src/examples/sample-plugin/sample/sample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/examples/sample-plugin/sample/sample.c b/src/examples/sample-plugin/sample/sample.c
index 703e604201f..91e8939f789 100644
--- a/src/examples/sample-plugin/sample/sample.c
+++ b/src/examples/sample-plugin/sample/sample.c
@@ -63,6 +63,8 @@ VLIB_PLUGIN_REGISTER () = {
};
/* *INDENT-ON* */
+sample_main_t sample_main;
+
/**
* @brief Enable/disable the macswap plugin.
*