]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-lmp.c
Add program_name field in the netdissect_options structure
[tcpdump] / print-lmp.c
index 8d68e858fb7b56814caa4a82cf1af2778844470e..069a3a33f4a6d1ff6b68fe2b046923f9a36e89df 100644 (file)
  * by Manu Pathak ([email protected]), May 2005
  */
 
-#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
 #include <tcpdump-stdinc.h>
 
-#include "interface.h"
+#include "netdissect.h"
 #include "extract.h"
 #include "addrtoname.h"
 #include "gmpls.h"
@@ -354,8 +353,8 @@ static const struct tok lmp_ctype_values[] = {
 
 void
 lmp_print(netdissect_options *ndo,
-          register const u_char *pptr, register u_int len) {
-
+          register const u_char *pptr, register u_int len)
+{
     const struct lmp_common_header *lmp_com_header;
     const struct lmp_object_header *lmp_obj_header;
     const u_char *tptr,*obj_tptr;