diff options
author | takawata <takawata@FreeBSD.org> | 2015-09-09 13:24:39 +0000 |
---|---|---|
committer | takawata <takawata@FreeBSD.org> | 2015-09-09 13:24:39 +0000 |
commit | 1f333be9cdbfb802d8be7ce5ed17fb9b01706823 (patch) | |
tree | 02f05fc93979195ae6b145c399f94aeb92057137 | |
parent | 1653ce1fd6ffe06526070bda0e24f4e637dc66f9 (diff) | |
download | FreeBSD-src-1f333be9cdbfb802d8be7ce5ed17fb9b01706823.zip FreeBSD-src-1f333be9cdbfb802d8be7ce5ed17fb9b01706823.tar.gz |
fix compare argument for address type.
Submitted by: issei10193 (via Twitter)
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/le.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/hccontrol/le.c b/usr.sbin/bluetooth/hccontrol/le.c index afb151e..c7be20d 100644 --- a/usr.sbin/bluetooth/hccontrol/le.c +++ b/usr.sbin/bluetooth/hccontrol/le.c @@ -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; |