selftests/net: toeplitz: fix udp option
Subsystems (3)
PATCH 1/1 selftests/net: toeplitz: fix udp option
From: Willem de Bruijn <[email protected]>
Tiny fix. Option -u ("use udp") does not take an argument.
It can cause the next argument to silently be ignored.
Fixes 5ebfb4cc3048 ("selftests/net: toeplitz test")
Signed-off-by Willem de Bruijn <[email protected]>
--- tools/testing/selftests/net/toeplitz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/net/toeplitz.c +1 -1
@@ -498,7 +498,7 @@ static void parse_opts(int argc, char **argv)bool have_toeplitz = false;int index, c; -while ((c =getopt_long (argc, argv,"46C:d:i:k:r:stT:u:v" , long_options, &index)) !=-1 ) { +while ((c =getopt_long (argc, argv,"46C:d:i:k:r:stT:uv" , long_options, &index)) !=-1 ) {switch (c) {case '4' : cfg_family =AF_INET ;
Signature · 1 line
2.34.1.173.g76aa8bc2d0-goog
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:
Quoted 10 lines · On Sat, 11 Dec 2021 14:30:31 -0500 you wrote:
From: Willem de Bruijn <[email protected]>
Tiny fix. Option -u ("use udp") does not take an argument.
It can cause the next argument to silently be ignored.
Fixes 5ebfb4cc3048 ("selftests/net: toeplitz test")Signed-off-by Willem de Bruijn <[email protected]>[...]
Here is the summary with links:
- [net] selftests/net: toeplitz: fix udp option
https://git.kernel.org/netdev/net/c/a8d13611b4a7
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html