Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
session: return local transport endpoint in connect reply
[vpp.git]
/
src
/
uri
/
uri_tcp_test.c
diff --git
a/src/uri/uri_tcp_test.c
b/src/uri/uri_tcp_test.c
index
89f070f
..
d3c4a75
100755
(executable)
--- 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;
}
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,
utm->vpp_event_queue =
uword_to_pointer (mp->vpp_event_queue_address,