Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2012 18:12:25 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233382 - head/sbin/ifconfig
Message-ID:  <201203231812.q2NICPFH088101@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203231812.q2NICPFH088101>