]> The Tcpdump Group git mirrors - tcpdump/commitdiff
From Atsushi Onoe <[email protected]>: NetBSD change to mark basic rate
authorguy <guy>
Thu, 12 Dec 2002 07:47:38 +0000 (07:47 +0000)
committerguy <guy>
Thu, 12 Dec 2002 07:47:38 +0000 (07:47 +0000)
with '*' in PRINT_RATES().

CREDITS
print-802_11.c

diff --git a/CREDITS b/CREDITS
index 1c5524908290001809e83ae98e897f02121b55e6..93413066928eb3038bf7cfb48820455f6f03c4d1 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -20,6 +20,7 @@ Additional people who have contributed patches:
        Andrew Tridgell                 <[email protected]>
        Arkadiusz Miskiewicz            <[email protected]>
        Armando L. Caro Jr.             <[email protected]>
+       Atsushi Onoe                    <[email protected]>
        Ben Smithurst                   <[email protected]>
        Brent L. Bates                  <[email protected]>
        Charlie Lenahan                 <[email protected]>
index 355d8ac65db516e4a64bef1eab2d8ac3a46e32c9..1ce05306c513671e78502534c248c62ae6c8e6f3 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.14 2002-12-12 07:39:19 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.15 2002-12-12 07:47:38 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -49,6 +49,7 @@ do { \
        const char *sep = " ["; \
        for (z = 0; z < p.rates.length ; z++) { \
                printf("%s%2.1f", sep, (.5 * (p.rates.rate[z] & 0x7f))); \
+               if (p.rates.rate[z] & 0x80) printf("*"); \
                sep = " "; \
        } \
        if (p.rates.length != 0) \