X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fc7b8aeb5e40fc50c68624e12069f5ba7bd9ae2c..ff3d0e6578ff53fa34837353ebb6738b10d69dd4:/print-lmp.c diff --git a/print-lmp.c b/print-lmp.c index 8d68e858..53e62d18 100644 --- a/print-lmp.c +++ b/print-lmp.c @@ -17,14 +17,13 @@ * by Manu Pathak (mapathak@cisco.com), May 2005 */ -#define NETDISSECT_REWORKED #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include +#include -#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;