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