X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/513f782ae18791f0c925b9235da749b38159b607..878c29b576d3842ddbe105fd5362bf9d37c9c5f0:/print-tipc.c diff --git a/print-tipc.c b/print-tipc.c index d4a01d67..d837af65 100644 --- a/print-tipc.c +++ b/print-tipc.c @@ -28,7 +28,7 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include "netdissect-stdinc.h" @@ -341,6 +341,7 @@ tipc_print(netdissect_options *ndo, const u_char *bp, u_int length _U_, uint32_t w0; u_int user; + ndo->ndo_protocol = "tipc"; ap = (const struct tipc_pkthdr *)bp; ND_TCHECK_4(ap->w0); w0 = EXTRACT_BE_U_4(ap->w0); @@ -375,10 +376,3 @@ tipc_print(netdissect_options *ndo, const u_char *bp, u_int length _U_, trunc: ND_PRINT("%s", tstr); } - -/* - * Local Variables: - * c-style: bsd - * End: - */ -