diff options
author | Elliott Hughes <enh@google.com> | 2015-01-28 17:34:16 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-01-28 17:34:16 +0000 |
commit | e55073a96ca7e9447592988614664b3c9666d93a (patch) | |
tree | 0d5f3c9d3d20429a6d57c0489917fd7a8fa5f33a /cmds | |
parent | 40b4e23a0396614c841977e932218e3f53089a4a (diff) | |
parent | 0e17a265f5e8bf233a3e3b74fc03ada3dc467bed (diff) | |
download | frameworks_native-e55073a96ca7e9447592988614664b3c9666d93a.zip frameworks_native-e55073a96ca7e9447592988614664b3c9666d93a.tar.gz frameworks_native-e55073a96ca7e9447592988614664b3c9666d93a.tar.bz2 |
am 0e17a265: Merge "Switch dumpstate to "ip link list"."
* commit '0e17a265f5e8bf233a3e3b74fc03ada3dc467bed':
Switch dumpstate to "ip link list".
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index dc1ada0..705a1d1 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -242,7 +242,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); |