fix compare argument for address type.
Submitted by: issei10193 (via Twitter)
This commit is contained in:
parent
8fe99e427f
commit
05e526fb5a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287597
@ -88,7 +88,7 @@ le_set_scan_param(int s, int argc, char *argv[])
|
||||
|
||||
if (strcmp(argv[3], "public") == 0)
|
||||
adrtype = 0;
|
||||
else if (strcmp(argv[0], "random") == 0)
|
||||
else if (strcmp(argv[3], "random") == 0)
|
||||
adrtype = 1;
|
||||
else
|
||||
return USAGE;
|
||||
|
Loading…
Reference in New Issue
Block a user