]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vtp.c
Clean up comments.
[tcpdump] / print-vtp.c
index e2b1f9ff927d29e5ddc8e44d9fe4e3f51382841f..16eea5c9d8c396f706247236da39ff5f2b4c772a 100644 (file)
@@ -242,7 +242,7 @@ vtp_print(netdissect_options *ndo,
         */
 
        tptr += 4;
-       while (tptr < (pptr+length)) {
+       while ((unsigned)(tptr - pptr) < length) {
 
            ND_TCHECK_1(tptr);
            len = GET_U_1(tptr);