svn commit: r192308 - head/usr.sbin/bluetooth/btpand

Maksim Yevmenkin emax at FreeBSD.org
Mon May 18 16:00:19 UTC 2009


Author: emax
Date: Mon May 18 16:00:18 2009
New Revision: 192308
URL: http://svn.freebsd.org/changeset/base/192308

Log:
  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

Modified:
  head/usr.sbin/bluetooth/btpand/btpand.c

Modified: head/usr.sbin/bluetooth/btpand/btpand.c
==============================================================================
--- head/usr.sbin/bluetooth/btpand/btpand.c	Mon May 18 15:46:34 2009	(r192307)
+++ head/usr.sbin/bluetooth/btpand/btpand.c	Mon May 18 16:00:18 2009	(r192308)
@@ -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)


More information about the svn-src-head mailing list