Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 16:00:18 +0000 (UTC)
From:      Maksim Yevmenkin <emax@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192308 - head/usr.sbin/bluetooth/btpand
Message-ID:  <200905181600.n4IG0IJV066857@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905181600.n4IG0IJV066857>