fix compare argument for address type.
Submitted by: issei10193 (via Twitter)
This commit is contained in:
parent
8fe99e427f
commit
05e526fb5a
@ -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