diff options
author | bschmidt <bschmidt@FreeBSD.org> | 2012-03-23 18:12:25 +0000 |
---|---|---|
committer | bschmidt <bschmidt@FreeBSD.org> | 2012-03-23 18:12:25 +0000 |
commit | 918c9660084650a34776f2ea17b1ff5860508600 (patch) | |
tree | b470313e3e8c4ba44277210308d97758a0f7e36f /sbin/ifconfig | |
parent | 15959dc921a1f903d4605d4cbcd689a073390c4a (diff) | |
download | FreeBSD-src-918c9660084650a34776f2ea17b1ff5860508600.zip FreeBSD-src-918c9660084650a34776f2ea17b1ff5860508600.tar.gz |
Also fix the parameter usage in set80211meshpeering().
Submitted by: Monthadar Al Jaberi
MFC after: 1 week
X-MFC after: r233328
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/ifieee80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c index 37f0709..3ecdf0e 100644 --- a/sbin/ifconfig/ifieee80211.c +++ b/sbin/ifconfig/ifieee80211.c @@ -1885,7 +1885,7 @@ DECL_CMD_FUNC(set80211meshforward, val, d) 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 |