mirror of
https://github.com/meshtastic/python.git
synced 2026-04-18 05:53:12 -04:00
Don't allow --dest with --tunnel either
This commit is contained in:
@@ -823,6 +823,9 @@ def onConnected(interface):
|
||||
|
||||
have_tunnel = platform.system() == "Linux"
|
||||
if have_tunnel and args.tunnel:
|
||||
if args.dest != BROADCAST_ADDR:
|
||||
print("A tunnel can only be created using the local node.")
|
||||
return
|
||||
# pylint: disable=C0415
|
||||
from . import tunnel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user