]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-quic.c
bgp: Parse BGP extended message support capability
[tcpdump] / print-quic.c
index d6963b77ef039ad1508335c49f801326cb4bfd3d..be1a5450ea62425528b2813af3c3dd1701975fb2 100644 (file)
@@ -164,7 +164,7 @@ quic_print_packet(netdissect_options *ndo, const u_char *bp, const u_char *end)
        bp += 1;
        if (first_octet & 0x80) {
                /* Long Header */
-               packet_type = (first_octet >> 4) & 0x02;
+               packet_type = (first_octet >> 4) & 0x03;
                version = GET_BE_U_4(bp);
                bp += 4;