From owner-svn-src-all@FreeBSD.ORG Mon May 18 16:00:18 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C74FE1065672; Mon, 18 May 2009 16:00:18 +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 B4E0B8FC0C; Mon, 18 May 2009 16:00:18 +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 n4IG0IWQ066858; Mon, 18 May 2009 16:00:18 GMT (envelope-from emax@svn.freebsd.org) Received: (from emax@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4IG0IJV066857; Mon, 18 May 2009 16:00:18 GMT (envelope-from emax@svn.freebsd.org) Message-Id: <200905181600.n4IG0IJV066857@svn.freebsd.org> From: Maksim Yevmenkin Date: Mon, 18 May 2009 16:00:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192308 - head/usr.sbin/bluetooth/btpand X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 16:00:19 -0000 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 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)