summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-28 17:22:27 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-28 17:22:28 +0000
commit0e17a265f5e8bf233a3e3b74fc03ada3dc467bed (patch)
treeb903cc0ab3b7fba17c7dd4f7a7c439a7351f315b /cmds
parent6e32c0377db89bafa477715b3a02431d651978cf (diff)
parenta59828a5d2740433164872e9a0b44363e2ba0cd4 (diff)
downloadframeworks_native-0e17a265f5e8bf233a3e3b74fc03ada3dc467bed.zip
frameworks_native-0e17a265f5e8bf233a3e3b74fc03ada3dc467bed.tar.gz
frameworks_native-0e17a265f5e8bf233a3e3b74fc03ada3dc467bed.tar.bz2
Merge "Switch dumpstate to "ip link list"."
Diffstat (limited to 'cmds')
-rw-r--r--cmds/dumpstate/dumpstate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 1fbcef6..dd8303e 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -217,7 +217,8 @@ static void dumpstate() {
for_each_userid(do_dump_settings, NULL);
/* The following have a tendency to get wedged when wifi drivers/fw goes belly-up. */
- run_command("NETWORK INTERFACES", 10, SU_PATH, "root", "netcfg", NULL);
+
+ run_command("NETWORK INTERFACES", 10, "ip", "link", NULL);
run_command("IPv4 ADDRESSES", 10, "ip", "-4", "addr", "show", NULL);
run_command("IPv6 ADDRESSES", 10, "ip", "-6", "addr", "show", NULL);