Browse code

core: more verbose log message for failing to find local socket

Daniel-Constantin Mierla authored on 02/10/2014 14:47:35
Showing 1 changed files
... ...
@@ -218,6 +218,8 @@ retry:
218 218
 	return si;
219 219
 error:
220 220
 	LOG(L_ERR, "ERROR: get_out_socket: no socket found\n");
221
+	ERR("no corresponding socket found for(%s:%s)\n",
222
+			proto2a(proto), su2a(to, sizeof(*to)));
221 223
 	if (unlikely(mhomed_sock_cache_disabled && *temp_sock >=0)){
222 224
 		close(*temp_sock);
223 225
 		*temp_sock=-1;