Wait indefinitely for packets when --tunnel is specified.

This commit is contained in:
jdstroy
2021-09-05 07:38:26 -04:00
parent 8380e57fa0
commit 65d767ba93

View File

@@ -511,7 +511,7 @@ def common():
# We assume client is fully connected now
onConnected(client)
if args.noproto: # loop until someone presses ctrlc
if args.noproto or (args.tunnel and have_tunnel): # loop until someone presses ctrlc
while True:
time.sleep(1000)