Browse code

- tm update_sock_struct_from_via call updated

Andrei Pelinescu-Onciul authored on 04/04/2003 15:43:10
Showing 1 changed files
... ...
@@ -894,7 +894,7 @@ int init_rb( struct retr_buf *rb, struct sip_msg *msg)
894 894
 		proto=msg->rcv.proto;
895 895
 	} else {
896 896
 		/*init retrans buffer*/
897
-		if (update_sock_struct_from_via( &(rb->dst.to),via )==-1) {
897
+		if (update_sock_struct_from_via( &(rb->dst.to), msg, via )==-1) {
898 898
 			LOG(L_ERR, "ERROR: init_rb: cannot lookup reply dst: %.*s\n",
899 899
 				via->host.len, via->host.s );
900 900
 			ser_error=E_BAD_VIA;