Browse code

- another small bug : &to instead of to

Andrei Pelinescu-Onciul authored on 06/09/2001 04:20:27
Showing 2 changed files
... ...
@@ -227,7 +227,7 @@ int forward_reply(char * orig, char* buf,
227 227
 	to->sin_port = (msg->via2.port)?htons(msg->via2.port):htons(SIP_PORT);
228 228
 	to->sin_addr.s_addr=*((long*)he->h_addr_list[0]);
229 229
 	
230
-	if (udp_send(new_buf,new_len, &to, sizeof(struct sockaddr))==-1)
230
+	if (udp_send(new_buf,new_len, to, sizeof(struct sockaddr))==-1)
231 231
 		goto error;
232 232
 	
233 233
 	free(new_buf);
... ...
@@ -4,7 +4,8 @@
4 4
 #  method_re   sip_uri_re      dest_host
5 5
 # (warning: re cannot contain space)
6 6
 
7
-.*			.*				   mobile50 
7
+#.			.				   centauri
8
+#.*			.*				   mobile50 
8 9
 .			.				   fox.iptel.org
9 10
 ^R.*        ^sip:.*@dorian.*   ekina.fokus.gmd.de        
10 11
 ^INVITE     .*                 ape:5061             # my laptop