Skip to content

Commit 7de6e0b

Browse files
committed
fix ipv6 flag order in worlddump
this change corrects the flag order from 'route -6' to '-6 route' as the -6 flag is an option when used with ip is an argument to the the ip command and not the route subcommand. -6 is accpeted as an argument to the standalone 'route' commannd but not 'ip route' subcommand. Change-Id: Ic2ae472e42b7b455693d0aade48dc5109e1f21ba
1 parent 0545b48 commit 7de6e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/worlddump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def network_dump():
165165

166166
_dump_cmd("bridge link")
167167
_dump_cmd("ip link show type bridge")
168-
ip_cmds = ["neigh", "addr", "route", "route -6"]
168+
ip_cmds = ["neigh", "addr", "route", "-6 route"]
169169
for cmd in ip_cmds + ['netns']:
170170
_dump_cmd("ip %s" % cmd)
171171
for netns_ in _netns_list():

0 commit comments

Comments
 (0)