Wait indefinitely for packets when --tunnel is specified.

This commit is contained in:
jdstroy committed 2021-09-05 07:59:05 -04:00
1 parent 8380e57fa0
commit 65d767ba93
1 file changed
+1 -1
+1 -1
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)