mirror of
https://github.com/meshtastic/python.git
synced 2026-09-15 23:13:06 -04:00
Wait indefinitely for packets when --tunnel is specified.
This commit is contained in:
1 parent
8380e57fa0
commit
65d767ba93
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user