]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-nsh.c
Suppress bogus C4738 from MSVC.
[tcpdump] / print-nsh.c
index db78dee62b5c3950ea3715d71ed3c4f39c258112..bf86a8bae4b99997d6ed007bfd722335c15a8510 100644 (file)
@@ -25,9 +25,7 @@
 
 /* specification: RFC 8300 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -181,7 +179,7 @@ nsh_print(netdissect_options *ndo, const u_char *bp, u_int len)
 
         if (md_type == MD_TYPE1) {
             if (length != 6) {
-                ND_PRINT(" (invalid length for the MD type)");
+                ND_PRINT(" (length for the MD type)");
                 goto invalid;
             }
             for (n = 0; n < length - 2; n++) {