aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-07-20 16:01:02 +0200
committerEC2 Default User <xiaobo.chen@tieto.com>2018-09-05 01:59:04 +0000
commit9b554f31d734f7f799b25c12b0a282044df843d1 (patch)
tree02b269b46ba81bcb008b71369bd464ccbecea676 /src
parent540b31ac8f562da0f1d2a92759c6912546a5b303 (diff)
fix issue with missing sample_main in sample pluginstable/1801
Change-Id: Ia17511e3997cdcf1d0991e62e8e2d3fb8812d133 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src')
-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.
*