Skip to content

Commit 0545b48

Browse files
committed
Add IPv6 route information to worlddump
The "ip route" command only outputs IPv4 routes, add a command to also show IPv6 route information. Drop output from "ip link" as that information is contained within the "ip addr" output already. Change-Id: Iae87f43c4b1c57f07de041e823da9d350c670389
1 parent 6e68add commit 0545b48

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", "link", "route"]
168+
ip_cmds = ["neigh", "addr", "route", "route -6"]
169169
for cmd in ip_cmds + ['netns']:
170170
_dump_cmd("ip %s" % cmd)
171171
for netns_ in _netns_list():

0 commit comments

Comments
 (0)