]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ether.c
Put a space between type and '*' in pointer declarators (style)
[tcpdump] / print-ether.c
index c47749c309033373700dfffdc8adc58ea8d77910..d20addbf91c5aad5bdf601aa90e5b9d2a428df2f 100644 (file)
@@ -238,7 +238,7 @@ recurse:
                         */
                        length_type = GET_BE_U_2(p);
 
-                       ND_LCHECK_U(caplen, 2);
+                       ND_ICHECK_U(caplen, <, 2);
                        length -= 2;
                        caplen -= 2;
                        p += 2;