mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
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: 5ebfb4cc30
("selftests/net: toeplitz test")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ab8eb798dd
commit
a8d13611b4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user