net: selftests: Fix optstring

The cited commit added a stray colon to the 'v' option. That makes the
option work incorrectly.

ex:
tools/testing/selftests/net# ./fib_nexthops.sh -v
(should enable verbose mode, instead it shows help text due to missing arg)

Fixes: 5feba47273 ("selftests: fib_nexthops: Make ping timeout configurable")
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Benjamin Poirier 2023-05-16 14:49:24 -04:00 committed by David S. Miller
parent c46e78ba9a
commit 9ba9485b87
1 changed files with 1 additions and 1 deletions

View File

@ -2283,7 +2283,7 @@ EOF
################################################################################
# main
while getopts :t:pP46hv:w: o
while getopts :t:pP46hvw: o
do
case $o in
t) TESTS=$OPTARG;;