svn commit: r194287 - projects/mesh11s/sbin/ifconfig
Rui Paulo
rpaulo at FreeBSD.org
Tue Jun 16 12:14:57 UTC 2009
Author: rpaulo
Date: Tue Jun 16 12:14:57 2009
New Revision: 194287
URL: http://svn.freebsd.org/changeset/base/194287
Log:
Fix declaration of meshpeering and meshforward commands.
Sponsored by: The FreeBSD Foundation
Modified:
projects/mesh11s/sbin/ifconfig/ifieee80211.c
Modified: projects/mesh11s/sbin/ifconfig/ifieee80211.c
==============================================================================
--- projects/mesh11s/sbin/ifconfig/ifieee80211.c Tue Jun 16 12:09:12 2009 (r194286)
+++ projects/mesh11s/sbin/ifconfig/ifieee80211.c Tue Jun 16 12:14:57 2009 (r194287)
@@ -5141,8 +5141,10 @@ static struct cmd ieee80211_cmds[] = {
DEF_CMD_ARG("tdmaslotlen", set80211tdmaslotlen),
DEF_CMD_ARG("tdmabintval", set80211tdmabintval),
- DEF_CMD_ARG("meshforward", set80211meshforward),
- DEF_CMD_ARG("meshpeering", set80211meshpeering),
+ DEF_CMD("meshforward", 1, set80211meshforward),
+ DEF_CMD("-meshforward", 0, set80211meshforward),
+ DEF_CMD("meshpeering", 1, set80211meshpeering),
+ DEF_CMD("-meshpeering", 0, set80211meshpeering),
/* vap cloning support */
DEF_CLONE_CMD_ARG("wlanaddr", set80211clone_wlanaddr),
More information about the svn-src-projects
mailing list