Browse code

ipv6 bug fixed

Bogdan-Andrei Iancu authored on 10/06/2002 16:34:38
Showing 2 changed files
... ...
@@ -110,7 +110,7 @@ int forward_request( struct sip_msg* msg, struct proxy_l * p)
110 110
 	DBG("Sending:\n%s.\n", buf);
111 111
 	DBG("orig. len=%d, new_len=%d\n", msg->len, len );
112 112
 	
113
-	if (udp_send( send_sock, buf, len,  to, 
113
+	if (udp_send(send_sock, buf, len,  to,
114 114
 							sizeof(union sockaddr_union))==-1){
115 115
 			ser_error=E_SEND;
116 116
 			p->errors++;
... ...
@@ -100,11 +100,7 @@ route{
100 100
 	};
101 101
 */
102 102
 
103
-	if (method=="MESSAGE")
104
-	{
105
-		sl_send_reply("200","OK");
106
-		break;
107
-	};
103
+
108 104
 	pike_check_req();
109 105
 	forward(uri:host,uri:port);
110 106
 	#t_relay();