We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70bb58b commit de154e5Copy full SHA for de154e5
1 file changed
meshtastic/__main__.py
@@ -771,7 +771,10 @@ def setSimpleConfig(modem_preset):
771
if interface.noProto:
772
logging.warning(f"Not starting Tunnel - disabled by noProto")
773
else:
774
- tunnel.Tunnel(interface, subnet=args.tunnel_net)
+ if args.tunnel_net:
775
+ tunnel.Tunnel(interface, subnet=args.tunnel_net)
776
+ else:
777
+ tunnel.Tunnel(interface)
778
779
if args.ack or (args.dest != BROADCAST_ADDR and waitForAckNak):
780
print(
0 commit comments