Bug 966564 - Make logging more clear when processing an unwrapped indication. r=drno
authorByron Campen [:bwc] <docfaraday@gmail.com>
Wed, 12 Mar 2014 10:21:48 -0700
changeset 191715 7884913fe0747a92ae8d70c1f4d7dec4006f8b30
parent 191714 85ccf0c7e633521b21212dc522cacf3946fb090b
child 191716 3be10b17592c2d63ae76ddcf0a13b71c46f9caf8
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno
bugs966564
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 966564 - Make logging more clear when processing an unwrapped indication. r=drno
media/mtransport/third_party/nICEr/src/ice/ice_socket.c
--- a/media/mtransport/third_party/nICEr/src/ice/ice_socket.c
+++ b/media/mtransport/third_party/nICEr/src/ice/ice_socket.c
@@ -76,17 +76,17 @@ static void nr_ice_socket_readable_cb(NR
     if (len_s > (size_t)INT_MAX)
       return;
 
     len = (int)len_s;
 
 #ifdef USE_TURN
   re_process:
 #endif /* USE_TURN */
-    r_log(LOG_ICE,LOG_DEBUG,"ICE(%s): Read %d bytes from %s",sock->ctx->label,len,addr.as_string);
+    r_log(LOG_ICE,LOG_DEBUG,"ICE(%s): Read %d bytes %sfrom %s",sock->ctx->label,len,(processed_indication ? "relayed " : ""),addr.as_string);
 
     /* First question: is this STUN or not? */
     is_stun=nr_is_stun_message(buf,len);
 
     if(is_stun){
       is_req=nr_is_stun_request_message(buf,len);
       is_ind=is_req?0:nr_is_stun_indication_message(buf,len);