Browse code

- fixed set_advertised_port

Andrei Pelinescu-Onciul authored on 25/08/2006 14:04:24
Showing 1 changed files
... ...
@@ -721,7 +721,7 @@ static inline int lumps_len(struct sip_msg* msg, struct lump* lumps,
721 721
 	else
722 722
 		send_address_str=&(send_sock->address_str);
723 723
 	if (msg->set_global_port.len)
724
-		send_port_str=&(msg->set_global_address);
724
+		send_port_str=&(msg->set_global_port);
725 725
 	else
726 726
 		send_port_str=&(send_sock->port_no_str);
727 727
 
... ...
@@ -1133,7 +1133,7 @@ static inline void process_lumps(	struct sip_msg* msg,
1133 1133
 	else
1134 1134
 		send_address_str=&(send_sock->address_str);
1135 1135
 	if (msg->set_global_port.len)
1136
-		send_port_str=&(msg->set_global_address);
1136
+		send_port_str=&(msg->set_global_port);
1137 1137
 	else
1138 1138
 		send_port_str=&(send_sock->port_no_str);
1139 1139