summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorErik Kline <ek@google.com>2015-06-09 17:38:12 +0900
committerErik Kline <ek@google.com>2015-06-09 17:38:12 +0900
commit90926336c19e45a1618b6251529b0071877bfdd4 (patch)
treeb0e44550abc2f2ddc1d267d51ff36992003c96a4 /cmds
parent037d4ca35abbcf40e244a5d09bade6dd8b9b2b0b (diff)
downloadframeworks_native-90926336c19e45a1618b6251529b0071877bfdd4.zip
frameworks_native-90926336c19e45a1618b6251529b0071877bfdd4.tar.gz
frameworks_native-90926336c19e45a1618b6251529b0071877bfdd4.tar.bz2
Incorporate network diagnostics during a bugreport
Bug: 21449922 Change-Id: I81a3774683c08f5d4ab4ea75bec45d279fb210ec
Diffstat (limited to 'cmds')
-rw-r--r--cmds/dumpstate/dumpstate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 95c49cf..88fc242 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -318,6 +318,8 @@ static void dumpstate() {
run_command("ARP CACHE", 10, "ip", "-4", "neigh", "show", NULL);
run_command("IPv6 ND CACHE", 10, "ip", "-6", "neigh", "show", NULL);
+ run_command("NETWORK DIAGNOSTICS", 10, "dumpsys", "connectivity", "--diag", NULL);
+
run_command("IPTABLES", 10, SU_PATH, "root", "iptables", "-L", "-nvx", NULL);
run_command("IP6TABLES", 10, SU_PATH, "root", "ip6tables", "-L", "-nvx", NULL);
run_command("IPTABLE NAT", 10, SU_PATH, "root", "iptables", "-t", "nat", "-L", "-nvx", NULL);