]> git.baikalelectronics.ru Git - kernel.git/commit
net: selftests: Fix optstring
authorBenjamin Poirier <bpoirier@nvidia.com>
Tue, 16 May 2023 18:49:24 +0000 (14:49 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 May 2023 16:32:48 +0000 (17:32 +0100)
commitf66b0a273a1e6dfcc5c433c7473c16690c7d3e54
tree2240705559a6d6effd0c0abee12be3a105fe1d4b
parente7c1d60bc357056f089a964dede9eebd0ad95c80
net: selftests: Fix optstring

[ Upstream commit 9ba9485b87ac97fd159abdb4cbd53099bc9f01c6 ]

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: 937960e46003 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/fib_nexthops.sh