summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorJACK <jack9603301@163.com>2021-06-02 02:58:53 +0800
committerGitHub <noreply@github.com>2021-06-01 20:58:53 +0200
commit491556b732c47ac92d4e2a0e8e129d7c24b636fd (patch)
tree9dfe4f47b5f398403755719f959437782f124315 /src/op_mode
parent49d74ad62065f921e6c732696015ebc751934b2b (diff)
downloadvyos-1x-491556b732c47ac92d4e2a0e8e129d7c24b636fd.tar.gz
vyos-1x-491556b732c47ac92d4e2a0e8e129d7c24b636fd.zip
op-mode: T3384: support UDP bandwidth testing
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/monitor_bandwidth_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/monitor_bandwidth_test.sh b/src/op_mode/monitor_bandwidth_test.sh
index 6da0291c5..900223bca 100755
--- a/src/op_mode/monitor_bandwidth_test.sh
+++ b/src/op_mode/monitor_bandwidth_test.sh
@@ -26,5 +26,5 @@ elif [[ $(dig $1 AAAA +short | grep -v '\.$' | wc -l) -gt 0 ]]; then
OPT="-V"
fi
-/usr/bin/iperf $OPT -c $1
+/usr/bin/iperf $OPT -c $1 $2