summaryrefslogtreecommitdiffstats
path: root/src/plugins/stn
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/stn')
-rw-r--r--src/plugins/stn/stn.api2
-rw-r--r--src/plugins/stn/stn_api.c18
2 files changed, 1 insertions, 19 deletions
diff --git a/src/plugins/stn/stn.api b/src/plugins/stn/stn.api
index 613d1804684..fad6299479b 100644
--- a/src/plugins/stn/stn.api
+++ b/src/plugins/stn/stn.api
@@ -30,7 +30,7 @@ import "vnet/ip/ip_types.api";
@param sw_if_index - Interface index
@param is_add - 1 if add, 0 if delete
*/
-autoreply manual_print define stn_add_del_rule {
+autoreply define stn_add_del_rule {
u32 client_index;
u32 context;
vl_api_address_t ip_address;
diff --git a/src/plugins/stn/stn_api.c b/src/plugins/stn/stn_api.c
index a22bbffd2fe..818c4a65c0a 100644
--- a/src/plugins/stn/stn_api.c
+++ b/src/plugins/stn/stn_api.c
@@ -37,24 +37,6 @@
vec_free (s); \
return handle;
-/**
- * @brief API message custom-dump function
- * @param mp vl_api_stn_add_del_rule_t * mp the api message
- * @param handle void * print function handle
- * @returns u8 * output string
- */
-static void *vl_api_stn_add_del_rule_t_print
- (vl_api_stn_add_del_rule_t * mp, void *handle)
-{
- u8 *s;
-
- s = format (0, "SCRIPT: stn_add_del_rule ");
- s = format (s, "address %U ", format_ip46_address, mp->ip_address);
- s = format (s, "sw_if_index %d is_add %d", mp->sw_if_index, mp->is_add);
-
- FINISH;
-}
-
static void
vl_api_stn_add_del_rule_t_handler (vl_api_stn_add_del_rule_t * mp)
{