summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2011-04-29 10:26:26 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-04-29 10:26:26 -0700
commit7277744e8de8ad66a5e4e1d44db6057047edf1c3 (patch)
tree50bb1ddf46d6da9e7123c9ca83a673b50dd39c8b /cmds
parent8e3b17ad13a07ccfe904fa787c0be4cc92d85c0b (diff)
parent67c92fbdfe52a94804f021c2255132c0f3550875 (diff)
downloadframeworks_base-7277744e8de8ad66a5e4e1d44db6057047edf1c3.zip
frameworks_base-7277744e8de8ad66a5e4e1d44db6057047edf1c3.tar.gz
frameworks_base-7277744e8de8ad66a5e4e1d44db6057047edf1c3.tar.bz2
am 67c92fbd: am 5f2ff42b: Add data to bugreports.
* commit '67c92fbdfe52a94804f021c2255132c0f3550875': Add data to bugreports.
Diffstat (limited to 'cmds')
-rw-r--r--cmds/dumpstate/dumpstate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index df7037c..53cae41 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -109,7 +109,10 @@ static void dumpstate() {
run_command("NETWORK INTERFACES", 10, "su", "root", "netcfg", NULL);
dump_file("NETWORK ROUTES", "/proc/net/route");
+ dump_file("NETWORK ROUTES IPV6", "/proc/net/ipv6_route");
dump_file("ARP CACHE", "/proc/net/arp");
+ run_command("IPTABLES", 10, "su", "root", "iptables", "-L", NULL);
+ run_command("IPTABLE NAT", 10, "su", "root", "iptables", "-t", "nat", "-L", NULL);
run_command("WIFI NETWORKS", 20,
"su", "root", "wpa_cli", "list_networks", NULL);