Module: kamailio
Branch: master
Commit: 5e961873401fd0a93ff03ba8d75dbcefbf2fbcf0
URL:
https://github.com/kamailio/kamailio/commit/5e961873401fd0a93ff03ba8d75dbce…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-07-18T08:46:27+02:00
corex: debug message for set rcv/snd sock functions
---
Modified: src/modules/corex/corex_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5e961873401fd0a93ff03ba8d75dbce…
Patch:
https://github.com/kamailio/kamailio/commit/5e961873401fd0a93ff03ba8d75dbce…
---
diff --git a/src/modules/corex/corex_mod.c b/src/modules/corex/corex_mod.c
index a6a01e9af1..846043e8aa 100644
--- a/src/modules/corex/corex_mod.c
+++ b/src/modules/corex/corex_mod.c
@@ -630,6 +630,8 @@ static int ki_set_socket_helper(sip_msg_t *msg, str *ssock, int
smode)
ssock->len, ssock->s, smode);
goto error;
}
+ LM_DBG("trying to set %s-socket to [%.*s] (%d)\n",
+ (smode==0)?"snd":"rcv", ssock->len, ssock->s, smode);
si = grep_sock_info(&host, (unsigned short)port, (unsigned short)proto);
if (si!=NULL) {
if(smode==0) {