Skip to content

Commit

Permalink
corex: debug message for set rcv/snd sock functions
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jul 18, 2019
1 parent abe060b commit 5e96187
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/corex/corex_mod.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 5e96187

Please sign in to comment.