Don't allow --dest with --tunnel either

This commit is contained in:
Ian McEwen committed 2024-04-21 10:38:01 -07:00
1 parent 56d1dcafe5
commit 5ebc8e6f95
1 file changed
+3
+3
View File
@@ -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