FreeBSD Bugzilla – Attachment 10972 Details for
Bug 21803
[PATCH] wicontrol's -a option mis-documented and not implemented
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.91 KB, created by
brooks
on 2000-10-07 01:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
brooks
Created:
2000-10-07 01:00:00 UTC
Size:
1.91 KB
patch
obsolete
>Index: wicontrol.8 >=================================================================== >RCS file: /home/ncvs/src/usr.sbin/wicontrol/wicontrol.8,v >retrieving revision 1.17 >diff -u -r1.17 wicontrol.8 >--- wicontrol.8 2000/09/21 00:25:07 1.17 >+++ wicontrol.8 2000/10/06 23:41:30 >@@ -38,7 +38,7 @@ > .Nd configure WaveLAN/IEEE devices > .Sh SYNOPSIS > .Nm wicontrol >-.Fl i Ar iface Op Fl oa >+.Fl i Ar iface Op Fl o > .Nm wicontrol > .Fl i Ar iface Fl t Ar tx rate > .Nm wicontrol >@@ -105,7 +105,7 @@ > .Sh OPTIONS > The options are as follows: > .Bl -tag -width Fl >-.It Fl i Ar iface Op Fl oa >+.It Fl i Ar iface Op Fl o > Display the current settings of the specified WaveLAN/IEEE interface. > This retrieves the current card settings from the driver and prints them > out. >@@ -113,12 +113,7 @@ > .Fl o > flag will cause > .Nm >-to print out the statistics counters instead of the card settings. Using >-the additional >-.Fl a >-flag will cause >-.Nm >-to print out encryption keys as ascii characters instead of in hex. >+to print out the statistics counters instead of the card settings. > Encryption keys are only displayed if wicontrol is run as root. > .It Fl i Ar iface Fl t Ar tx rate > Set the transmit rate of the specified interface. >Index: wicontrol.c >=================================================================== >RCS file: /home/ncvs/src/usr.sbin/wicontrol/wicontrol.c,v >retrieving revision 1.13 >diff -u -r1.13 wicontrol.c >--- wicontrol.c 2000/09/21 00:25:07 1.13 >+++ wicontrol.c 2000/10/06 23:40:08 >@@ -698,7 +698,7 @@ > int modifier = 0; > > while((ch = getopt(argc, argv, >- "hoc:d:e:f:i:k:p:r:q:t:n:s:m:v:P:S:T:ZC")) != -1) { >+ "a:hoc:d:e:f:i:k:p:r:q:t:n:s:m:v:P:S:T:ZC")) != -1) { > switch(ch) { > case 'Z': > #ifdef WICACHE >@@ -781,6 +781,10 @@ > break; > case 'P': > wi_setword(iface, WI_RID_PM_ENABLED, atoi(optarg)); >+ exit(0); >+ break; >+ case 'a': >+ wi_setword(iface, WI_RID_SYSTEM_SCALE, atoi(optarg)); > exit(0); > break; > case 'v':
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21803
: 10972