diff options
author | 2023-05-16 14:49:24 -0400 | |
---|---|---|
committer | 2023-05-17 13:01:06 +0100 | |
commit | 9ba9485b87ac97fd159abdb4cbd53099bc9f01c6 (patch) | |
tree | 9158abee3ba7fc7ef3177e396b0dda9725a31b3c /tools | |
parent | net: pcs: xpcs: fix C73 AN not getting enabled (diff) | |
download | wireguard-linux-9ba9485b87ac97fd159abdb4cbd53099bc9f01c6.tar.xz wireguard-linux-9ba9485b87ac97fd159abdb4cbd53099bc9f01c6.zip |
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: 5feba4727395 ("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>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/testing/selftests/net/fib_nexthops.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/fib_nexthops.sh b/tools/testing/selftests/net/fib_nexthops.sh index a47b26ab48f2..0f5e88c8f4ff 100755 --- a/tools/testing/selftests/net/fib_nexthops.sh +++ b/tools/testing/selftests/net/fib_nexthops.sh @@ -2283,7 +2283,7 @@ EOF ################################################################################ # main -while getopts :t:pP46hv:w: o +while getopts :t:pP46hvw: o do case $o in t) TESTS=$OPTARG;; |