summaryrefslogtreecommitdiffstats
path: root/src/plugins/ct6
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/ct6')
-rw-r--r--src/plugins/ct6/ct6_test.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/plugins/ct6/ct6_test.c b/src/plugins/ct6/ct6_test.c
index 507620eaf0b..2f985a60970 100644
--- a/src/plugins/ct6/ct6_test.c
+++ b/src/plugins/ct6/ct6_test.c
@@ -173,25 +173,7 @@ ct6_api_hookup (vat_main_t * vam)
#undef _
}
-clib_error_t *
-vat_plugin_register (vat_main_t * vam)
-{
- ct6_test_main_t *ctmp = &ct6_test_main;
- u8 *name;
-
- ctmp->vat_main = vam;
-
- /* Ask the vpp engine for the first assigned message-id */
- name = format (0, "ct6_%08x%c", api_version, 0);
- ctmp->msg_id_base = vl_client_get_first_plugin_msg_id ((char *) name);
-
- if (ctmp->msg_id_base != (u16) ~ 0)
- ct6_api_hookup (vam);
-
- vec_free (name);
-
- return 0;
-}
+VAT_PLUGIN_REGISTER (ct6);
/*
* fd.io coding-style-patch-verification: ON