Add bandwidth configuration to settings.env.default and update run_iperf function for UDP modeS

This commit is contained in:
Yaro Kasear 2025-04-21 15:54:24 -05:00
parent ddc27d9313
commit 9b8b59e562
2 changed files with 2 additions and 1 deletions

View file

@ -61,7 +61,7 @@ run_iperf() {
local args=("-c" "$target" "-J" "-t" "10")
if [ "$mode" = "udp" ]; then
args+=("-u")
args+=("-u" "-b" "$BANDWIDTH")
fi
if [ "$direction" = "down" ]; then