using also bridge table on network hooking

This commit is contained in:
Domingo Dirutigliano
2025-04-12 16:51:42 +02:00
parent c22892b97f
commit 33b22a174c
7 changed files with 71 additions and 63 deletions

View File

@@ -64,7 +64,7 @@ class TcpServer:
def recv_packet(self):
try:
return self.client_sock.recv(4096)
except TimeoutError:
except (TimeoutError, ConnectionResetError):
if self.verbose:
traceback.print_exc()
return False