From 38e4034e65e594e0b434db38d8c821873834f94d Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Thu, 10 Aug 2023 19:42:49 +0200 Subject: [PATCH] network: fix default default value for --disable-layer3 --- network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network.py b/network.py index 910fea4..02922f4 100755 --- a/network.py +++ b/network.py @@ -589,7 +589,7 @@ def main(): parser.add_argument('--verbosity', choices=['verbose', 'normal', 'quiet'], default='normal', help='Set verbosity.') parser.add_argument('--link-command', help='Execute a command to change link properties. JSON elements are accessible. E.g. "myscript.sh {ifname} {tq}"') parser.add_argument('--node-command', help='Execute a command to change link properties. JSON elements are accessible. E.g. "myscript.sh {ifname} {id}"') - parser.add_argument('--disable-layer3', action='store_false', help='Disable IP addresses on mesh interface.') + parser.add_argument('--disable-layer3', action='store_true', help='Disable IP addresses on mesh interface.') parser.add_argument('--remotes', help='Distribute nodes and links on remotes described in the JSON file.') parser.add_argument('--mtu', type=int, default=1500, help='Set Maximum Transfer Unit (MTU) on each interface.')