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
This commit is contained in:
Maksim Yevmenkin 2009-05-18 16:00:18 +00:00
parent f4fcd5ddec
commit 715238635d

View File

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