Commit 2ff0f9c0 authored by bol-van's avatar bol-van
Browse files

tpws: minor update

parent 4dbd673e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -495,7 +495,7 @@ static bool connect_remote_conn(tproxy_conn_t *conn)
	int mss=0;

	if (conn->track.hostname)
		if (!ipcache_put_hostname(conn->dest.sa_family==AF_INET ? &((struct sockaddr_in*)&conn->dest)->sin_addr : NULL, conn->dest.sa_family==AF_INET6 ? &((struct sockaddr_in6*)&conn->dest)->sin6_addr : NULL , conn->track.hostname, false))
		if (!ipcache_put_hostname(conn->dest.sa_family==AF_INET ? &((struct sockaddr_in*)&conn->dest)->sin_addr : NULL, conn->dest.sa_family==AF_INET6 ? &((struct sockaddr_in6*)&conn->dest)->sin6_addr : NULL , conn->track.hostname, conn->track.hostname_is_ip))
			DLOG_ERR("ipcache_put_hostname: out of memory");
	apply_desync_profile(&conn->track, (struct sockaddr *)&conn->dest);