diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2011-11-23 11:27:04 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-11-23 11:27:04 -0800 |
commit | e0c3a2e0634d3801e2603e53de09a645680b4803 (patch) | |
tree | 9bded73f7667d862fe39450c829f0fbec7b3cb30 /cmds | |
parent | a8183fb16021eece5a54e327e71fd36adf7d51b6 (diff) | |
parent | eaeb4f4e3c914550d28a042fb3d752efcf20ab9e (diff) | |
download | frameworks_base-e0c3a2e0634d3801e2603e53de09a645680b4803.zip frameworks_base-e0c3a2e0634d3801e2603e53de09a645680b4803.tar.gz frameworks_base-e0c3a2e0634d3801e2603e53de09a645680b4803.tar.bz2 |
am eaeb4f4e: Merge "Fix some policy-base routing issues." into ics-mr1
* commit 'eaeb4f4e3c914550d28a042fb3d752efcf20ab9e':
Fix some policy-base routing issues.
Diffstat (limited to 'cmds')
-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 fe81d2b..395c28b 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -120,6 +120,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); |