aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/snat
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-03-04 08:35:48 -0500
committerDave Barach <dave@barachs.net>2017-03-04 08:50:49 -0500
commit99617f7a2649674dff35e8bfa3d9b84244236778 (patch)
tree763f5e234e5758cb6479bf9537f4b0140103d807 /src/plugins/snat
parent6f6f52aeb689fdaee628e7fa132749928694f01f (diff)
Fix duplicate binary API registration messages / bugs
Changed vat_api_hookup(...) to <plugin-name>_api_hookup, change to static functions. Fixed the related emacs-lisp plugin skeleton. Change-Id: Id14f8fc3138751f469d48fecb26175e938f5f028 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/snat')
-rw-r--r--src/plugins/snat/snat_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/snat/snat_test.c b/src/plugins/snat/snat_test.c
index dae63a2369d..c97b813e24e 100644
--- a/src/plugins/snat/snat_test.c
+++ b/src/plugins/snat/snat_test.c
@@ -763,8 +763,7 @@ snat_vat_api_hookup (vat_main_t *vam)
/* API messages we can send */
#define _(n,h) \
- hash_set_mem (vam->function_by_name, #n, api_##n); \
- clib_warning ("vam %llx add '%s' handler %llx", vam, #n, api_##n);
+ hash_set_mem (vam->function_by_name, #n, api_##n);
foreach_vpe_api_msg;
#undef _