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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to