summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorErik Kline <ek@google.com>2015-06-09 23:24:53 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-09 23:24:54 +0000
commit47a7dc81d0fedc1e85091f0e8a868768d0e8cadd (patch)
tree85497c2d66128d00060cdadfcc934dd22a0aeac8 /cmds
parent3d0518565a5e704dc8020a96c5bb3a96a093f4cd (diff)
parent90926336c19e45a1618b6251529b0071877bfdd4 (diff)
downloadframeworks_native-47a7dc81d0fedc1e85091f0e8a868768d0e8cadd.zip
frameworks_native-47a7dc81d0fedc1e85091f0e8a868768d0e8cadd.tar.gz
frameworks_native-47a7dc81d0fedc1e85091f0e8a868768d0e8cadd.tar.bz2
Merge "Incorporate network diagnostics during a bugreport" into mnc-dev
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);