summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2009-05-18 16:00:18 +0000
committeremax <emax@FreeBSD.org>2009-05-18 16:00:18 +0000
commitda0f75294f9477cda52bcffe0685150a74bac668 (patch)
tree2bdb350e78940382a67533edf69580c0b69fbd69
parent1af3a5b3ea5d73b774a343a263631754558f15f8 (diff)
downloadFreeBSD-src-da0f75294f9477cda52bcffe0685150a74bac668.zip
FreeBSD-src-da0f75294f9477cda52bcffe0685150a74bac668.tar.gz
Teach btpand(8) to recognized Bluetooth device node names.
Tested by: Daniel O'Connor <doconnor -at- gsoft -dot- com -dot- au> MFC after: 3 days
-rw-r--r--usr.sbin/bluetooth/btpand/btpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/btpand/btpand.c b/usr.sbin/bluetooth/btpand/btpand.c
index 99a3bc7..9387444 100644
--- a/usr.sbin/bluetooth/btpand/btpand.c
+++ b/usr.sbin/bluetooth/btpand/btpand.c
@@ -101,7 +101,7 @@ main(int argc, char *argv[])
break;
case 'd': /* local address */
- if (!bt_aton(optarg, &local_bdaddr)) {
+ if (!bt_devaddr(optarg, &local_bdaddr)) {
struct hostent *he;
if ((he = bt_gethostbyname(optarg)) == NULL)
OpenPOWER on IntegriCloud