Skip to content

Commit

Permalink
siptrace: fix hardcoded PROTO_UDP in duplicate_uri module parameter
Browse files Browse the repository at this point in the history
- possibility to switch to other then UDP transport protocol in diplicate_uri

(cherry picked from commit 2d24221)
  • Loading branch information
Den4t authored and miconda committed May 16, 2022
1 parent 0c7abf1 commit 43a8f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/siptrace/siptrace_send.c
Expand Up @@ -305,7 +305,7 @@ int trace_send_duplicate(char *buf, int len, dest_info_t *dst2)

if(!dst2) {
/* create a temporary proxy from dst param */
dst.proto = PROTO_UDP;
dst.proto = trace_dup_uri->proto;
p = mk_proxy(&trace_dup_uri->host,
(trace_dup_uri->port_no) ? trace_dup_uri->port_no : SIP_PORT, dst.proto);
if(p == 0) {
Expand Down

0 comments on commit 43a8f66

Please sign in to comment.