diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2011-04-28 17:10:23 -0700 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2011-04-29 09:43:49 -0700 |
commit | 5f2ff42b282e093b61b9e7b07c79a74ea8ce3272 (patch) | |
tree | d0593b837f864d5ba2724937edf3e5af23e5a311 | |
parent | d7f739b13e0336d6dd02df18d16a73636a795c3f (diff) | |
download | frameworks_base-5f2ff42b282e093b61b9e7b07c79a74ea8ce3272.zip frameworks_base-5f2ff42b282e093b61b9e7b07c79a74ea8ce3272.tar.gz frameworks_base-5f2ff42b282e093b61b9e7b07c79a74ea8ce3272.tar.bz2 |
Add data to bugreports.
Include IPv6 routes and iptables data.
Change-Id: Ie9bca8a935f93933082eef0c45f83a17be76b7ed
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index 9e6bcc8..6570078 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); |