]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-802_11.c
Use "-H", not "-h", for the 802.11s option, and improve error reporting.
[tcpdump] / print-802_11.c
index a94ade2eb3079e61b5592837b299753f04eb9888..24ab625a61e3a18fafe52e5f00e46243428ed249 100644 (file)
@@ -1709,7 +1709,7 @@ ieee802_11_print(const u_char *p, u_int length, u_int orig_caplen, int pad,
        hdrlen = extract_header_length(fc);
        if (pad)
                hdrlen = roundup2(hdrlen, 4);
-       if (hflag && FC_TYPE(fc) == T_DATA &&
+       if (Hflag && FC_TYPE(fc) == T_DATA &&
            DATA_FRAME_IS_QOS(FC_SUBTYPE(fc))) {
                meshdrlen = extract_mesh_header_length(p+hdrlen);
                hdrlen += meshdrlen;