PERFORCE change 65817 for review
Sam Leffler
sam at FreeBSD.org
Wed Nov 24 16:37:16 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=65817
Change 65817 by sam at sam_ebb on 2004/11/25 00:36:19
there's no reason to print tsc/rsc for wep keys
Affected files ...
.. //depot/projects/wifi/sbin/ifconfig/ifieee80211.c#19 edit
Differences ...
==== //depot/projects/wifi/sbin/ifconfig/ifieee80211.c#19 (text+ko) ====
@@ -1142,9 +1142,11 @@
for (i = 0; i < keylen; i++)
printf("%02x", ik->ik_keydata[i]);
printf(">");
- if (ik->ik_keyrsc != 0 || verbose)
+ if (ik->ik_type != IEEE80211_CIPHER_WEP &&
+ (ik->ik_keyrsc != 0 || verbose))
printf(" rsc %llu", ik->ik_keyrsc);
- if (ik->ik_keytsc != 0 || verbose)
+ if (ik->ik_type != IEEE80211_CIPHER_WEP &&
+ (ik->ik_keytsc != 0 || verbose))
printf(" tsc %llu", ik->ik_keytsc);
if (ik->ik_flags != 0 && verbose) {
const char *sep = " ";
More information about the p4-projects
mailing list