Add data to bugreports.

Include IPv6 routes and iptables data.

Change-Id: Ie9bca8a935f93933082eef0c45f83a17be76b7ed
This commit is contained in:
Robert Greenwalt
2011-04-28 17:10:23 -07:00
parent d7f739b13e
commit 5f2ff42b28

View File

@ -109,7 +109,10 @@ static void dumpstate() {
run_command("NETWORK INTERFACES", 10, "su", "root", "netcfg", NULL); run_command("NETWORK INTERFACES", 10, "su", "root", "netcfg", NULL);
dump_file("NETWORK ROUTES", "/proc/net/route"); dump_file("NETWORK ROUTES", "/proc/net/route");
dump_file("NETWORK ROUTES IPV6", "/proc/net/ipv6_route");
dump_file("ARP CACHE", "/proc/net/arp"); 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, run_command("WIFI NETWORKS", 20,
"su", "root", "wpa_cli", "list_networks", NULL); "su", "root", "wpa_cli", "list_networks", NULL);