summaryrefslogtreecommitdiffstats
path: root/src/uri
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-10-14 18:56:41 -0700
committerDave Wallace <dwallacelf@gmail.com>2017-10-17 08:09:55 +0000
commitade70e459deeaf143e5321603176c3fd3ee1503b (patch)
treed549ef60b705b304d1b0d0349d2b5a661fdccfed /src/uri
parent0178efd690515a8410fb9b6e1fd96c3483871598 (diff)
session: return local transport endpoint in connect reply
Change-Id: I7794d5a0774017da4c1c15f45783a18754994ac8 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/uri')
-rwxr-xr-xsrc/uri/uri_tcp_test.c6
1 files changed, 6 insertions, 0 deletions
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,