svn commit: r193060 - stable/7/usr.sbin/bluetooth/btpand

Maksim Yevmenkin emax at FreeBSD.org
Fri May 29 20:22:58 UTC 2009


Author: emax
Date: Fri May 29 20:22:56 2009
New Revision: 193060
URL: http://svn.freebsd.org/changeset/base/193060

Log:
  MFC r192308
  
  Teach btpand(8) to recognized Bluetooth device node names.
  
  Tested by:	Daniel O'Connor <doconnor -at- gsoft -dot- com -dot- au>

Modified:
  stable/7/usr.sbin/bluetooth/btpand/   (props changed)
  stable/7/usr.sbin/bluetooth/btpand/btpand.c

Modified: stable/7/usr.sbin/bluetooth/btpand/btpand.c
==============================================================================
--- stable/7/usr.sbin/bluetooth/btpand/btpand.c	Fri May 29 20:01:50 2009	(r193059)
+++ stable/7/usr.sbin/bluetooth/btpand/btpand.c	Fri May 29 20:22:56 2009	(r193060)
@@ -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-stable-7 mailing list