Explorar o código

- tm update_sock_struct_from_via call updated

Andrei Pelinescu-Onciul %!s(int64=22) %!d(string=hai) anos
pai
achega
b99da54466
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/tm/t_lookup.c

+ 1 - 1
modules/tm/t_lookup.c

@@ -894,7 +894,7 @@ int init_rb( struct retr_buf *rb, struct sip_msg *msg)
 		proto=msg->rcv.proto;
 	} else {
 		/*init retrans buffer*/
-		if (update_sock_struct_from_via( &(rb->dst.to),via )==-1) {
+		if (update_sock_struct_from_via( &(rb->dst.to), msg, via )==-1) {
 			LOG(L_ERR, "ERROR: init_rb: cannot lookup reply dst: %.*s\n",
 				via->host.len, via->host.s );
 			ser_error=E_BAD_VIA;