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...")
|
print("Waiting for connection...")
|
||||||
connection, client = sock.accept()
|
connection, client = sock.accept()
|
||||||
ip_to = restrict_ip
|
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:
|
except:
|
||||||
print("Something went wrong...")
|
print("Something went wrong...")
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
|
|
Loading…
Add table
Reference in a new issue