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)
(cherry picked from commit 43a8f66)
(cherry picked from commit 2115621)
  • Loading branch information
Den4t authored and miconda committed Sep 15, 2022
1 parent 5ff9cca commit 0c50094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/siptrace/siptrace_send.c
Expand Up @@ -301,7 +301,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 0c50094

Please sign in to comment.