mirror of
https://github.com/nmap/nmap.git
synced 2026-01-01 04:19:02 +00:00
Fix a typo in getopt option string causing ncat's -n to consume the next option.
This commit is contained in:
@@ -334,7 +334,7 @@ int main(int argc, char *argv[])
|
||||
while (1) {
|
||||
/* handle command line arguments */
|
||||
int option_index;
|
||||
int c = getopt_long(argc, argv, "46UCc:e:g:G:i:km:hp:d:lo:x:ts:uvw:n:z",
|
||||
int c = getopt_long(argc, argv, "46UCc:e:g:G:i:km:hp:d:lo:x:ts:uvw:nz",
|
||||
long_options, &option_index);
|
||||
|
||||
/* That's the end of the options. */
|
||||
|
||||
Reference in New Issue
Block a user