summaryrefslogtreecommitdiffstats
path: root/src/examples/sample-plugin/sample
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/sample-plugin/sample')
-rw-r--r--src/examples/sample-plugin/sample/sample_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/sample-plugin/sample/sample_test.c b/src/examples/sample-plugin/sample/sample_test.c
index 2308e8f4363..5dcee809844 100644
--- a/src/examples/sample-plugin/sample/sample_test.c
+++ b/src/examples/sample-plugin/sample/sample_test.c
@@ -117,7 +117,7 @@ static int api_sample_macswap_enable_disable (vat_main_t * vam)
}
/* Construct the API message */
- M(SAMPLE_MACSWAP_ENABLE_DISABLE, sample_macswap_enable_disable);
+ M(SAMPLE_MACSWAP_ENABLE_DISABLE, mp);
mp->sw_if_index = ntohl (sw_if_index);
mp->enable_disable = enable_disable;