--- udpint.c 2011-10-12 01:19:13.816516121 +0300 +++ udpint.c.mod 2011-10-12 01:20:19.000516026 +0300 @@ -210,7 +210,7 @@ if ( debug.on ) msg( LOG_DEBUG, "udp_remote_to_local", "sending %d bytes to server on port %d", - packet.size, ntohs( INT_LOCALADDR( ip )->sin_port ) ) ; + packet.size, ntohs( INT_LOCALADDR( ip )->sa_in.sin_port ) ) ; #endif send_data( chp->ch_local_socket,