aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-03-10 08:37:41 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2017-03-10 15:28:18 +0000
commitb6391a90c4940f2828ad7a637fca39ccbdd1fd07 (patch)
treeba524b9cfeab3c991a624cdf880558ea120e2ff7 /src/plugins
parenta331e6fc45e175aa2a0544150ddae16f82fae833 (diff)
Fix vat_api_hookup name collision
Change-Id: I6a93fdc3f669fa1892d1e1cd5a9685700d6d2683 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/ioam/udp-ping/udp_ping_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/ioam/udp-ping/udp_ping_test.c b/src/plugins/ioam/udp-ping/udp_ping_test.c
index 3128f274260..4ec11351221 100644
--- a/src/plugins/ioam/udp-ping/udp_ping_test.c
+++ b/src/plugins/ioam/udp-ping/udp_ping_test.c
@@ -214,8 +214,8 @@ _(udp_ping_add_del_req, "src <local IPv6 address> start-src-port <first local p
_(udp_ping_export_req, "export [disable]") \
-void
-vat_api_hookup (vat_main_t * vam)
+static void
+udp_ping_test_api_hookup (vat_main_t * vam)
{
udp_ping_test_main_t *sm = &udp_ping_test_main;
/* Hook up handlers for replies from the data plane plug-in */
@@ -253,7 +253,7 @@ vat_plugin_register (vat_main_t * vam)
sm->msg_id_base = vl_client_get_first_plugin_msg_id ((char *) name);
if (sm->msg_id_base != (u16) ~ 0)
- vat_api_hookup (vam);
+ udp_ping_test_api_hookup (vam);
vec_free (name);