Merge "Invoke tcpdump with -l" into main am: ca91ebdcab
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3509290 Change-Id: I884700af3faf545f1a4624e13792686e3b7da0ab Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
928ab4657d
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ class ConnectivityDiagnosticsCollector : BaseMetricListener() {
|
|||
// Echo the current pid, and replace it (with exec) with the tcpdump process, so the
|
||||
// tcpdump pid is known.
|
||||
writer.write(
|
||||
"echo $$; exec su 0 tcpdump -n -i any -U -xx".encodeToByteArray()
|
||||
"echo $$; exec su 0 tcpdump -n -i any -l -xx".encodeToByteArray()
|
||||
)
|
||||
}
|
||||
val reader = FileReader(stdout.fileDescriptor).buffered()
|
||||
|
|
|
|||
Loading…
Reference in a new issue