aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin/nsh/nsh.c
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-11-03 14:16:26 +0100
committerMarek Gradzki <mgradzki@cisco.com>2016-11-03 14:16:34 +0100
commit37a5ce7bdcc9bfc39d3ebabcfbdc4f4ffad3b7f0 (patch)
treec7a41b784415b847781af0a18765547ed019b648 /nsh-plugin/nsh/nsh.c
parentad43a56f743f8fe133b06c1d4477078daae984f4 (diff)
Remove unused nsh_control_ping
The nsh_control_ping was intended to be temporary workaround for jvpp problems. Now it can be safely removed. Change-Id: I8ea65f84617f1ab772432902ea13c102e165f026 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'nsh-plugin/nsh/nsh.c')
-rw-r--r--nsh-plugin/nsh/nsh.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/nsh-plugin/nsh/nsh.c b/nsh-plugin/nsh/nsh.c
index 780b385..ae440b8 100644
--- a/nsh-plugin/nsh/nsh.c
+++ b/nsh-plugin/nsh/nsh.c
@@ -98,8 +98,7 @@
_(NSH_ADD_DEL_ENTRY, nsh_add_del_entry) \
_(NSH_ENTRY_DUMP, nsh_entry_dump) \
_(NSH_ADD_DEL_MAP, nsh_add_del_map) \
- _(NSH_MAP_DUMP, nsh_map_dump) \
- _(NSH_CONTROL_PING, nsh_control_ping)
+ _(NSH_MAP_DUMP, nsh_map_dump)
clib_error_t *
vlib_plugin_register (vlib_main_t * vm, vnet_plugin_handoff_t * h,
@@ -118,20 +117,6 @@ typedef struct {
nsh_header_t nsh_header;
} nsh_input_trace_t;
-
-static void vl_api_nsh_control_ping_t_handler
-(vl_api_nsh_control_ping_t *mp)
-{
- nsh_main_t * nm = &nsh_main;
- vl_api_nsh_control_ping_reply_t * rmp;
- int rv = 0;
-
- REPLY_MACRO2(VL_API_NSH_CONTROL_PING_REPLY,
- ({
- rmp->vpe_pid = ntohl (getpid());
- }));
-}
-
u8 * format_nsh_header (u8 * s, va_list * args)
{
nsh_header_t * nsh = va_arg (*args, nsh_header_t *);