summaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-07-20 16:01:02 +0200
committerDamjan Marion <dmarion@me.com>2018-09-11 17:24:33 +0000
commit74836948844cd13b25c158b8b4f60b94de517fd9 (patch)
tree56b00f3d5acc95c786fada624b92f6ad9a3d4d76 /src/examples
parentaec7297ba012e1fe4bbf85cdaec8e810aa476cea (diff)
fix issue with missing sample_main in sample plugin
Change-Id: Ia17511e3997cdcf1d0991e62e8e2d3fb8812d133 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/examples')
-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.
*