diff --git a/scripts/test-iperf b/scripts/test-iperf index c753088..af3b375 100755 --- a/scripts/test-iperf +++ b/scripts/test-iperf @@ -17,6 +17,10 @@ if [[ -z $MY_PORT ]] ; then exit 27 fi +if [[ $MY_PORT -lt 10 ]] ; then + MY_PORT="0$MY_PORT" +fi + for VLAN in {10..4000} ; do if [[ -f /etc/netdev/vlan.$VLAN.csv ]] ; then VLAN_CONF=`grep $SERVER_SERIAL \