From 990bcce0fddc765f8d5398b431ab461a775fc10c Mon Sep 17 00:00:00 2001 From: Lorenzo Colitti Date: Fri, 11 Mar 2016 10:58:55 +0900 Subject: Remove the route command from dumpstate. Its output is irrelevant and misleading, because: 1. It only looks at the "main" routing table, which is a last resort routing table that is trumped by all other networks and cannot even be used by non-root users. 2. The proper way to understand device routing is to look at the output of "ip rule" and "ip route", both of which are already in the bugreport. Bug: 26154009 Change-Id: Ice19799639daa156a0d4dbb69915031e5582a8ed --- cmds/dumpstate/dumpstate.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'cmds/dumpstate/dumpstate.cpp') diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index f302529f2a..5741c53932 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -605,7 +605,6 @@ static void dumpstate(const std::string& screenshot_path, const std::string& ver run_command("PROCESSES AND THREADS", 10, "ps", "-Z", "-t", "-p", "-P", NULL); run_command("LIBRANK", 10, SU_PATH, "root", "librank", NULL); - run_command("ROUTE", 10, "route", NULL); run_command("PRINTENV", 10, "printenv", NULL); run_command("NETSTAT", 10, "netstat", NULL); run_command("LSMOD", 10, "lsmod", NULL); -- cgit v1.2.3-59-g8ed1b