From 0545b48f3b14f2951033b5e09db3190a95cf3527 Mon Sep 17 00:00:00 2001 From: Jens Harbott Date: Tue, 13 Oct 2020 16:06:44 +0200 Subject: [PATCH] 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 --- tools/worlddump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/worlddump.py b/tools/worlddump.py index 6a618f5ee6..5a264d2508 100755 --- a/tools/worlddump.py +++ b/tools/worlddump.py @@ -165,7 +165,7 @@ def network_dump(): _dump_cmd("bridge link") _dump_cmd("ip link show type bridge") - ip_cmds = ["neigh", "addr", "link", "route"] + ip_cmds = ["neigh", "addr", "route", "route -6"] for cmd in ip_cmds + ['netns']: _dump_cmd("ip %s" % cmd) for netns_ in _netns_list():