[sr-dev] git:master: core: more verbose log message for failing to find local socket
Daniel-Constantin Mierla
miconda at gmail.com
Thu Oct 2 16:57:57 CEST 2014
Module: sip-router
Branch: master
Commit: f50c1e9fab16fb611f7bbc6002f4c8607bc8fbf2
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f50c1e9fab16fb611f7bbc6002f4c8607bc8fbf2
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: Thu Oct 2 16:47:35 2014 +0200
core: more verbose log message for failing to find local socket
---
forward.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/forward.c b/forward.c
index 849325f..b7bf23b 100644
--- a/forward.c
+++ b/forward.c
@@ -218,6 +218,8 @@ retry:
return si;
error:
LOG(L_ERR, "ERROR: get_out_socket: no socket found\n");
+ ERR("no corresponding socket found for(%s:%s)\n",
+ proto2a(proto), su2a(to, sizeof(*to)));
if (unlikely(mhomed_sock_cache_disabled && *temp_sock >=0)){
close(*temp_sock);
*temp_sock=-1;
More information about the sr-dev
mailing list