mirror of https://github.com/drk1wi/portspoof.git
Update connection.cpp
This commit is contained in:
parent
af6cd4d79e
commit
798e7e10c7
|
@ -157,7 +157,6 @@ void* process_connection(void *arg)
|
|||
} else
|
||||
original_port = ntohs(peer_sockaddr.sin_port);
|
||||
|
||||
get_ipstr(threads[tid].clients[i], threads[tid].client_src_ip[i], ipstr);
|
||||
|
||||
close_socket:
|
||||
if (configuration->getConfigValue(OPT_DEBUG))
|
||||
|
@ -165,8 +164,6 @@ void* process_connection(void *arg)
|
|||
|
||||
close(threads[tid].clients[i]);
|
||||
|
||||
fingerp.addTimedOutConnection(threads[tid].client_src_ip[i], original_port);
|
||||
|
||||
pthread_mutex_lock(&new_connection_mutex);
|
||||
threads[tid].clients[i] = 0;
|
||||
threads[tid].client_count--;
|
||||
|
|
Loading…
Reference in New Issue