Skip to content

Commit

Permalink
Merge b311586 into 9e947eb
Browse files Browse the repository at this point in the history
  • Loading branch information
avazquezrd committed Mar 26, 2024
2 parents 9e947eb + b311586 commit 23ad06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ncclient/manager.py
Expand Up @@ -191,7 +191,7 @@ def call_home(*args, **kwds):
port = kwds.get("port",4334)
srv_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
srv_socket.bind((host, port))
srv_socket.settimeout(10)
srv_socket.settimeout(kwds.get("timeout", 10))
srv_socket.listen()

sock, remote_host = srv_socket.accept()
Expand Down

0 comments on commit 23ad06b

Please sign in to comment.