OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e32c03
)
Switch dumpstate to "ip link list".
author
Elliott Hughes
<enh@google.com>
Wed, 28 Jan 2015 04:48:52 +0000
(20:48 -0800)
committer
Elliott Hughes
<enh@google.com>
Wed, 28 Jan 2015 16:45:40 +0000
(08:45 -0800)
Change-Id: Ia1db51c866890f09fbd4316764dea5982554598f
cmds/dumpstate/dumpstate.c
patch
|
blob
|
history
diff --git
a/cmds/dumpstate/dumpstate.c
b/cmds/dumpstate/dumpstate.c
index
1fbcef6
..
dd8303e
100644
(file)
--- 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);