From owner-svn-src-head@FreeBSD.ORG Fri Mar 23 18:12:25 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1B421065670; Fri, 23 Mar 2012 18:12:25 +0000 (UTC) (envelope-from bschmidt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2638FC0C; Fri, 23 Mar 2012 18:12:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q2NICPjv088103; Fri, 23 Mar 2012 18:12:25 GMT (envelope-from bschmidt@svn.freebsd.org) Received: (from bschmidt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q2NICPFH088101; Fri, 23 Mar 2012 18:12:25 GMT (envelope-from bschmidt@svn.freebsd.org) Message-Id: <201203231812.q2NICPFH088101@svn.freebsd.org> From: Bernhard Schmidt Date: Fri, 23 Mar 2012 18:12:25 +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: r233382 - head/sbin/ifconfig X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2012 18:12:25 -0000 Author: bschmidt Date: Fri Mar 23 18:12:25 2012 New Revision: 233382 URL: http://svn.freebsd.org/changeset/base/233382 Log: Also fix the parameter usage in set80211meshpeering(). Submitted by: Monthadar Al Jaberi MFC after: 1 week X-MFC after: r233328 Modified: head/sbin/ifconfig/ifieee80211.c Modified: head/sbin/ifconfig/ifieee80211.c ============================================================================== --- head/sbin/ifconfig/ifieee80211.c Fri Mar 23 18:07:12 2012 (r233381) +++ head/sbin/ifconfig/ifieee80211.c Fri Mar 23 18:12:25 2012 (r233382) @@ -1885,7 +1885,7 @@ DECL_CMD_FUNC(set80211meshforward, val, static DECL_CMD_FUNC(set80211meshpeering, val, d) { - set80211(s, IEEE80211_IOC_MESH_AP, atoi(val), 0, NULL); + set80211(s, IEEE80211_IOC_MESH_AP, d, 0, NULL); } static