tcp_benchmark: fix typo

Not every run of tcp_benchmark is a client run.

PiperOrigin-RevId: 538885507
This commit is contained in:
Kevin Krakauer
2023-06-08 14:07:20 -07:00
committed by gVisor bot
parent 7a92412c08
commit 65957cc0c6
+2 -2
View File
@@ -472,9 +472,9 @@ if [[ "${disable_linux_gro}" ]]; then
fi
if ${client}; then
echo "BenchmarkTCPClient/role=client/host-gso=\$hostgso/host-gro=\$hostgro 1 \$mbits Mb/s \$client_cpu_load cpu-time"
echo "BenchmarkTCP/role=client/host-gso=\$hostgso/host-gro=\$hostgro 1 \$mbits Mb/s \$client_cpu_load cpu-time"
elif ${server}; then
echo "BenchmarkTCPClient/role=server/host-gso=\$hostgso/host-gro=\$hostgro 1 \$mbits Mb/s \$server_cpu_load cpu-time"
echo "BenchmarkTCP/role=server/host-gso=\$hostgso/host-gro=\$hostgro 1 \$mbits Mb/s \$server_cpu_load cpu-time"
fi
EOF