Skip to content

Commit

Permalink
[siptrace][bugfix] use the correct sockaddr structure for storing
Browse files Browse the repository at this point in the history
  • Loading branch information
ionutrazvanionita committed Apr 28, 2016
1 parent 3dda413 commit 556f394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/siptrace/siptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -2256,7 +2256,7 @@ static int trace_send_hep_duplicate(str *body, str *fromproto, str *fromip,

hostent2su(to, &p->host, p->addr_idx, (p->port)?p->port:SIP_PORT);

if (hep_api.pack_hep(&from_su, to, proto, body->s, body->len,
if (hep_api.pack_hep(&from_su, &to_su, proto, body->s, body->len,
&hepbuf, &heplen)) {
LM_ERR("failed to do hep packing\n");
return -1;
Expand Down

0 comments on commit 556f394

Please sign in to comment.