Commit 3cb3a945 authored by Youness Alaoui's avatar Youness Alaoui

show the source of the inbound packet after it's been processed by the TURN socket

parent a677cb0d
...@@ -1957,8 +1957,14 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, Stream *stream, ...@@ -1957,8 +1957,14 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, Stream *stream,
/* note: contents of 'buf' already validated, so it is /* note: contents of 'buf' already validated, so it is
* a valid and fully received STUN message */ * a valid and fully received STUN message */
nice_debug ("Agent %p: inbound STUN packet for %u/%u (stream/component):", #ifndef NDEBUG
agent, stream->id, component->id); {
gchar tmpbuf[INET6_ADDRSTRLEN];
nice_address_to_string (from, tmpbuf);
nice_debug ("Agent %p: inbound STUN packet for %u/%u (stream/component) from [%s]:%u (%u octets) :",
agent, stream->id, component->id, tmpbuf, nice_address_get_port (from), len);
}
#endif
/* note: ICE 7.2. "STUN Server Procedures" (ID-19) */ /* note: ICE 7.2. "STUN Server Procedures" (ID-19) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment