Merge "Invoke tcpdump with -l" into main

This commit is contained in:
Junyu Lai 2025-03-12 02:18:14 -07:00 • committed by Gerrit Code Review
commit ca91ebdcab

View file

@ -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()