diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2018-01-18 17:01:40 -0500 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-01-20 14:28:32 +0000 |
commit | 9b95425de61d9f1c4b8bb7490b1250ac03fd8243 (patch) | |
tree | 30b76658690e5ea095744cc0339a3442e3177b4c /src/vcl/vppcom.c | |
parent | d47c509af13ddcb80f82aebd25dc4f40cc778a0e (diff) |
VCL/LD_PRELOAD: Fix unfiltered debug output.
Change-Id: I625b219fe6ffd21f87a163244569a4075cd432a4
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/vcl/vppcom.c')
-rw-r--r-- | src/vcl/vppcom.c | 7 |
1 files changed, 4 insertions, 3 deletions
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; } |