svn commit: r233382 - head/sbin/ifconfig

Bernhard Schmidt bschmidt at FreeBSD.org
Fri Mar 23 18:12:25 UTC 2012


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


More information about the svn-src-head mailing list