Date: Sat, 31 Mar 2012 08:46:11 +0000 (UTC) From: Bernhard Schmidt <bschmidt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r233736 - stable/8/sbin/ifconfig Message-ID: <201203310846.q2V8kBEq092208@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203310846.q2V8kBEq092208>