Merge "Invoke tcpdump with -l" into main
This commit is contained in:
commit
ca91ebdcab
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