fix compare argument for address type.

Submitted by: issei10193 (via Twitter)
This commit is contained in:
Takanori Watanabe 2015-09-09 13:24:39 +00:00
parent 8fe99e427f
commit 05e526fb5a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287597

View File

@ -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;