X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fc7b8aeb5e40fc50c68624e12069f5ba7bd9ae2c..91d032ddef9c198e4a78bccebbe33b38b6f5949b:/print-mpcp.c diff --git a/print-mpcp.c b/print-mpcp.c index 7ddfb1d1..e2b6c394 100644 --- a/print-mpcp.c +++ b/print-mpcp.c @@ -17,7 +17,6 @@ * Original code by Hannes Gredler (hannes@juniper.net) */ -#define NETDISSECT_REWORKED #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -122,8 +121,8 @@ static const struct tok mpcp_reg_ack_flag_values[] = { }; void -mpcp_print(netdissect_options *ndo, register const u_char *pptr, register u_int length) { - +mpcp_print(netdissect_options *ndo, register const u_char *pptr, register u_int length) +{ union { const struct mpcp_common_header_t *common_header; const struct mpcp_grant_t *grant;