From owner-svn-src-stable-7@FreeBSD.ORG Fri May 29 20:22:57 2009 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ACDA106566B; Fri, 29 May 2009 20:22:57 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 683028FC39; Fri, 29 May 2009 20:22:57 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4TKMvBk085710; Fri, 29 May 2009 20:22:57 GMT (envelope-from emax@svn.freebsd.org) Received: (from emax@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4TKMvuE085709; Fri, 29 May 2009 20:22:57 GMT (envelope-from emax@svn.freebsd.org) Message-Id: <200905292022.n4TKMvuE085709@svn.freebsd.org> From: Maksim Yevmenkin Date: Fri, 29 May 2009 20:22:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193060 - stable/7/usr.sbin/bluetooth/btpand X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 20:22:58 -0000 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 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)