diff options
author | sam <sam@FreeBSD.org> | 2003-04-28 16:37:38 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-04-28 16:37:38 +0000 |
commit | 1e1e2faff9349ae3ff2a353151c0f008eb767008 (patch) | |
tree | 8d64b983b644474e55ef4be85ad6afc9522018f1 /sbin/ifconfig/ifconfig.c | |
parent | a37db6668700646e20198e8605d477205a472821 (diff) | |
download | FreeBSD-src-1e1e2faff9349ae3ff2a353151c0f008eb767008.zip FreeBSD-src-1e1e2faff9349ae3ff2a353151c0f008eb767008.tar.gz |
add a "mode" directive to specify the operating mode for multi-mode devices;
this is mostly intended for use with multi-mode 802.11 devices that support
some combination of 11a, 11b, and 11g
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index ff220194..b174c94 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -236,6 +236,7 @@ struct cmd { { "-monitor", -IFF_MONITOR, setifflags }, #ifdef USE_IF_MEDIA { "media", NEXTARG, setmedia }, + { "mode", NEXTARG, setmediamode }, { "mediaopt", NEXTARG, setmediaopt }, { "-mediaopt", NEXTARG, unsetmediaopt }, #endif |