From ade70e459deeaf143e5321603176c3fd3ee1503b Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Sat, 14 Oct 2017 18:56:41 -0700 Subject: session: return local transport endpoint in connect reply Change-Id: I7794d5a0774017da4c1c15f45783a18754994ac8 Signed-off-by: Florin Coras --- src/uri/uri_tcp_test.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/uri') diff --git a/src/uri/uri_tcp_test.c b/src/uri/uri_tcp_test.c index 89f070f72cd..d3c4a75ddf3 100755 --- a/src/uri/uri_tcp_test.c +++ b/src/uri/uri_tcp_test.c @@ -542,6 +542,12 @@ vl_api_connect_session_reply_t_handler (vl_api_connect_session_reply_t * mp) utm->state = STATE_FAILED; return; } + else + { + clib_warning ("connected with local ip %U port %d", format_ip46_address, + mp->lcl_ip, mp->is_ip4, + clib_net_to_host_u16 (mp->lcl_port)); + } utm->vpp_event_queue = uword_to_pointer (mp->vpp_event_queue_address, -- cgit 1.2.3-korg