]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-bootp.c
Travis CI: Revert to libpcap master branch (updated)
[tcpdump] / print-bootp.c
index 9425919d894bcc6321e2695a813ac4272da68814..c076f4250756e241ffa6333fd2dfdf33dcefca77 100644 (file)
@@ -388,6 +388,7 @@ bootp_print(netdissect_options *ndo,
        else {
                uint32_t ul;
 
+               ND_TCHECK_32BITS(&bp->bp_vend);
                ul = EXTRACT_32BITS(&bp->bp_vend);
                if (ul != 0)
                        ND_PRINT((ndo, "\n\t  Vendor-#0x%x", ul));