summaryrefslogtreecommitdiffstats
path: root/cmds/dumpstate
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2011-07-26 15:26:02 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2011-07-26 15:26:02 -0700
commit22d93a0d71d965970f581cd9aa1cbf2efbb5998f (patch)
treef5b0d0a82c59d398fe2185ac047f532fba71724d /cmds/dumpstate
parentbce8effe75c5477eb42d4e1c4df609da962285a2 (diff)
parent41394a361020e9f58524f23d6831bb8e63063856 (diff)
downloadframeworks_base-22d93a0d71d965970f581cd9aa1cbf2efbb5998f.zip
frameworks_base-22d93a0d71d965970f581cd9aa1cbf2efbb5998f.tar.gz
frameworks_base-22d93a0d71d965970f581cd9aa1cbf2efbb5998f.tar.bz2
resolved conflicts for merge of 41394a36 to honeycomb-plus-aosp
Change-Id: If4dc99c558dc45c9a7ff8d3ea5be69578b4ee793
Diffstat (limited to 'cmds/dumpstate')
-rw-r--r--cmds/dumpstate/dumpstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 4926db2..52b2d91 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -113,8 +113,8 @@ static void dumpstate() {
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("IPTABLES", 10, "su", "root", "iptables", "-L", "-n", NULL);
+ run_command("IPTABLE NAT", 10, "su", "root", "iptables", "-t", "nat", "-L", "-n", NULL);
run_command("WIFI NETWORKS", 20,
"su", "root", "wpa_cli", "list_networks", NULL);