This commit is contained in:
parent
ae23a08881
commit
6de09ecffd
1 changed files with 1 additions and 1 deletions
|
@ -754,7 +754,7 @@ def tcp_session(sock):
|
|||
print("Waiting for connection...")
|
||||
connection, client = sock.accept()
|
||||
ip_to = restrict_ip
|
||||
threading.Thread(target=session, daemon=True, args=[context.wrap_socket(connection, client, ip_to]).start()
|
||||
threading.Thread(target=session, daemon=True, args=[connection, client, ip_to]).start()
|
||||
except:
|
||||
print("Something went wrong...")
|
||||
print(traceback.format_exc())
|
||||
|
|
Loading…
Add table
Reference in a new issue