]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-tipc.c
Change update-test.sh to update multiple tests
[tcpdump] / print-tipc.c
index d4a01d67ff78dcc219faa034baf5bb5160fecec7..d837af65ebad5aba7dd4736934a3b4bf8108b0f8 100644 (file)
@@ -28,7 +28,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #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:
- */
-