diff options
author | emax <emax@FreeBSD.org> | 2009-05-18 16:00:18 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2009-05-18 16:00:18 +0000 |
commit | da0f75294f9477cda52bcffe0685150a74bac668 (patch) | |
tree | 2bdb350e78940382a67533edf69580c0b69fbd69 | |
parent | 1af3a5b3ea5d73b774a343a263631754558f15f8 (diff) | |
download | FreeBSD-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.c | 2 |
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) |