]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ah.c
Add program_name field in the netdissect_options structure
[tcpdump] / print-ah.c
index dd4130e49943c7d66c03929f12641bed7bff3476..8d71e1b42527d457a95c447cb89932c786dc0ae7 100644 (file)
@@ -21,7 +21,6 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -30,7 +29,7 @@
 
 #include "ah.h"
 
-#include "interface.h"
+#include "netdissect.h"
 #include "extract.h"
 
 int
@@ -39,7 +38,7 @@ ah_print(netdissect_options *ndo, register const u_char *bp)
        register const struct ah *ah;
        register const u_char *ep;
        int sumlen;
-       u_int32_t spi;
+       uint32_t spi;
 
        ah = (const struct ah *)bp;
        ep = ndo->ndo_snapend;          /* 'ep' points to the end of available data. */