]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Don't announce protected data frames if -e isn't set.
authorGuy Harris <[email protected]>
Fri, 17 Apr 2015 19:36:41 +0000 (12:36 -0700)
committerGuy Harris <[email protected]>
Fri, 17 Apr 2015 19:36:41 +0000 (12:36 -0700)
wep_print()s output should indicate that the frame is protected; no need
to stick "Protected" into the output.

print-802_11.c

index d7310cb2d53f38250a80e845331d52f5799b2dd1..8649f520b409365aaaffe6bf60791a49d32a9c06 100644 (file)
@@ -2398,8 +2398,6 @@ ieee802_11_print(netdissect_options *ndo,
                        return hdrlen;  /* no-data frame */
                /* There may be a problem w/ AP not having this bit set */
                if (FC_PROTECTED(fc)) {
-                       if (!ndo->ndo_eflag)
-                               ND_PRINT((ndo, "Protected "));
                        if (!wep_print(ndo, p)) {
                                ND_PRINT((ndo, "%s", tstr));
                                return hdrlen;