diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2011-11-23 11:29:24 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-11-23 11:29:24 -0800 |
commit | d73dd9528b94f965924f9075fdabe4c96f75cab4 (patch) | |
tree | 42edac412b770b1646c21a72092a1a75266f04b9 /cmds/dumpstate | |
parent | 4cf8a3914aa365fefc6c231c48075ecc5a096a65 (diff) | |
parent | 18f05518a882eeb778433c65bff27831a8accdc2 (diff) | |
download | frameworks_base-d73dd9528b94f965924f9075fdabe4c96f75cab4.zip frameworks_base-d73dd9528b94f965924f9075fdabe4c96f75cab4.tar.gz frameworks_base-d73dd9528b94f965924f9075fdabe4c96f75cab4.tar.bz2 |
am 18f05518: am eaeb4f4e: Merge "Fix some policy-base routing issues." into ics-mr1
* commit '18f05518a882eeb778433c65bff27831a8accdc2':
Fix some policy-base routing issues.
Diffstat (limited to 'cmds/dumpstate')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index 52465a0..399e668 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -121,6 +121,12 @@ static void dumpstate() { dump_file("NETWORK ROUTES", "/proc/net/route"); dump_file("NETWORK ROUTES IPV6", "/proc/net/ipv6_route"); + run_command("IP RULES", 10, "ip", "rule", "show", NULL); + run_command("IP RULES v6", 10, "ip", "-6", "rule", "show", NULL); + run_command("ROUTE TABLE 60", 10, "ip", "route", "show", "table", "60", NULL); + run_command("ROUTE TABLE 61 v6", 10, "ip", "-6", "route", "show", "table", "60", NULL); + run_command("ROUTE TABLE 61", 10, "ip", "route", "show", "table", "61", NULL); + run_command("ROUTE TABLE 61 v6", 10, "ip", "-6", "route", "show", "table", "61", NULL); dump_file("ARP CACHE", "/proc/net/arp"); run_command("IPTABLES", 10, "su", "root", "iptables", "-L", "-nvx", NULL); run_command("IP6TABLES", 10, "su", "root", "ip6tables", "-L", "-nvx", NULL); |