|
@@ -338,9 +338,9 @@ static int t_relay_to( struct sip_msg *p_msg , char *str_ip , char *str_port)
|
|
|
}
|
|
|
break;
|
|
|
case AIN_NEWACK: /* it's an ACK for which no transaction exists */
|
|
|
- DBG( "SER: forwarding ACK statelessly to %d : %d\n",
|
|
|
- (unsigned int)str_ip, (unsigned int)str_port );
|
|
|
- proxy=mk_proxy_from_ip((unsigned int)str_ip,(unsigned int)str_port);
|
|
|
+ DBG( "SER: forwarding ACK statelessly \n");
|
|
|
+ proxy = mk_proxy_from_ip( (unsigned int)str_ip,
|
|
|
+ ntohs((unsigned int)str_port) );
|
|
|
forward_request( p_msg , proxy ) ;
|
|
|
free_proxy(proxy);
|
|
|
free(proxy);
|