Skip to content

Commit a8d1361

Browse files
wdebruijdavem330
authored andcommitted
selftests/net: toeplitz: fix udp option
Tiny fix. Option -u ("use udp") does not take an argument. It can cause the next argument to silently be ignored. Fixes: 5ebfb4c ("selftests/net: toeplitz test") Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ab8eb79 commit a8d1361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/net/toeplitz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ static void parse_opts(int argc, char **argv)
498498
bool have_toeplitz = false;
499499
int index, c;
500500

501-
while ((c = getopt_long(argc, argv, "46C:d:i:k:r:stT:u:v", long_options, &index)) != -1) {
501+
while ((c = getopt_long(argc, argv, "46C:d:i:k:r:stT:uv", long_options, &index)) != -1) {
502502
switch (c) {
503503
case '4':
504504
cfg_family = AF_INET;

0 commit comments

Comments
 (0)