]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-token.c
CMake: Fix the comment about versions. [skip ci]
[tcpdump] / print-token.c
index 0f783a397a484f21c344cf5e192cf7f54d2c85b4..6426cfe23514edab48c4fc64a657aaa6c2253926 100644 (file)
@@ -26,9 +26,7 @@
 
 /* \summary: Token Ring printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -152,7 +150,7 @@ token_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen
        u_int route_len = 0, hdr_len = TOKEN_HDRLEN;
        int seg;
 
-       ndo->ndo_protocol = "token";
+       ndo->ndo_protocol = "token-ring";
        trp = (const struct token_header *)p;
 
        if (caplen < TOKEN_HDRLEN) {