فهرست منبع

*** empty log message ***

Bogdan-Andrei Iancu 23 سال پیش
والد
کامیت
e42ae055e3
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 0 1
      modules/tm/t_funcs.c
  2. 2 1
      modules/tm/tm.c

+ 0 - 1
modules/tm/t_funcs.c

@@ -729,7 +729,6 @@ int get_ip_and_port_from_uri( struct sip_msg* p_msg , unsigned int *param_ip, un
 			port = SIP_PORT;
 		}
 	}
-	port = htons( port );
 
 	/* getting host address*/
 #ifdef DNS_IP_HACK

+ 2 - 1
modules/tm/tm.c

@@ -338,7 +338,8 @@ 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\n");
+			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);
 			forward_request( p_msg , proxy ) ;
 			free_proxy(proxy);