]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rt6.c
CMake: Fix the comment about versions. [skip ci]
[tcpdump] / print-rt6.c
index 096a96286c95e0ce8a7275fd7589d6d2bccb17f2..6019cd798eec9e37d8a50776c43cdb54a02b6e7f 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: IPv6 routing header printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -66,7 +64,7 @@ rt6_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2 _U_)
                }
 
                if (len % 2 == 1) {
-                       ND_PRINT(" (invalid length %u)", len);
+                       ND_PRINT(" [length %u]", len);
                        goto invalid;
                }
                len >>= 1;