aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vcl/vcom.c2
-rw-r--r--src/vcl/vppcom.c7
2 files changed, 4 insertions, 5 deletions
diff --git a/src/vcl/vcom.c b/src/vcl/vcom.c
index ef468815f2a..592be1b1b51 100644
--- a/src/vcl/vcom.c
+++ b/src/vcl/vcom.c
@@ -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;
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index 373304ba120..aa149b76a9b 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -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;
}