VCL/LD_PRELOAD: Fix unfiltered debug output.

Change-Id: I625b219fe6ffd21f87a163244569a4075cd432a4
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
This commit is contained in:
Dave Wallace
2018-01-18 17:01:40 -05:00
committed by Dave Barach
parent d47c509af1
commit 9b95425de6
2 changed files with 4 additions and 5 deletions

View File

@ -1587,8 +1587,6 @@ getpeername (int fd, __SOCKADDR_ARG addr, socklen_t * __restrict len)
if ((errno = -vcom_init ()))
return -1;
clib_warning ("LDP<%d>: fd %d (0x%x) ", getpid (), fd, fd);
if (sid != INVALID_SESSION_ID)
{
vppcom_endpt_t ep;

View File

@ -441,6 +441,10 @@ vppcom_connect_to_vpp (char *app_name)
vcm->vl_input_queue = am->shmem_hdr->vl_input_queue;
vcm->my_client_index = am->my_client_index;
vcm->app_state = STATE_APP_CONN_VPP;
if (VPPCOM_DEBUG > 0)
clib_warning ("VCL<%d>: app (%s) is connected to VPP!",
getpid (), app_name);
}
if (VPPCOM_DEBUG > 0)
@ -471,9 +475,6 @@ vppcom_connect_to_vpp (char *app_name)
ed->data = rv;
/* *INDENT-ON* */
}
clib_warning ("VCL<%d>: app (%s) is connected to VPP!",
getpid (), app_name);
return rv;
}