From owner-svn-src-stable-8@FreeBSD.ORG Sat Mar 31 08:46:11 2012 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6AE51065674; Sat, 31 Mar 2012 08:46:11 +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 A0B828FC16; Sat, 31 Mar 2012 08:46:11 +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 q2V8kBwN092210; Sat, 31 Mar 2012 08:46:11 GMT (envelope-from bschmidt@svn.freebsd.org) Received: (from bschmidt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q2V8kBEq092208; Sat, 31 Mar 2012 08:46:11 GMT (envelope-from bschmidt@svn.freebsd.org) Message-Id: <201203310846.q2V8kBEq092208@svn.freebsd.org> From: Bernhard Schmidt Date: Sat, 31 Mar 2012 08:46:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r233736 - stable/8/sbin/ifconfig X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2012 08:46:11 -0000 Author: bschmidt Date: Sat Mar 31 08:46:11 2012 New Revision: 233736 URL: http://svn.freebsd.org/changeset/base/233736 Log: MFC r233328,r233382: Fix incorrect parameter usage. Submitted by: Monthadar Al Jaberi Modified: stable/8/sbin/ifconfig/ifieee80211.c Directory Properties: stable/8/sbin/ifconfig/ (props changed) Modified: stable/8/sbin/ifconfig/ifieee80211.c ============================================================================== --- stable/8/sbin/ifconfig/ifieee80211.c Sat Mar 31 08:44:27 2012 (r233735) +++ stable/8/sbin/ifconfig/ifieee80211.c Sat Mar 31 08:46:11 2012 (r233736) @@ -1856,13 +1856,13 @@ DECL_CMD_FUNC(set80211meshttl, val, d) static DECL_CMD_FUNC(set80211meshforward, val, d) { - set80211(s, IEEE80211_IOC_MESH_FWRD, atoi(val), 0, NULL); + set80211(s, IEEE80211_IOC_MESH_FWRD, d, 0, NULL); } 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