소스 검색

tsilo: don't force destination protocol on branches added by t_append_branches

Federico Cabiddu 10 년 전
부모
커밋
6bdddb99d7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/tm/t_append_branches.c

+ 1 - 1
modules/tm/t_append_branches.c

@@ -128,7 +128,7 @@ int t_append_branches(void) {
 		new_branch=add_uac( t, orig_msg, &current_uri,
 					(dst_uri.len) ? (&dst_uri) : &current_uri,
 					&path, 0, si, orig_msg->fwd_send_flags,
-					orig_msg->rcv.proto, (dst_uri.len)?-1:UAC_SKIP_BR_DST_F, &instance,
+					PROTO_NONE, (dst_uri.len)?-1:UAC_SKIP_BR_DST_F, &instance,
 					&ruid, &location_ua);
 		
 		LM_DBG("added branch [%.*s] with ruid [%.*s]\n", current_uri.len, current_uri.s, ruid.len, ruid.s);