Date: Tue, 16 Jun 2009 12:14:57 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r194287 - projects/mesh11s/sbin/ifconfig Message-ID: <200906161214.n5GCEv4j026980@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906161214.n5GCEv4j026980>