]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ah.c
Merge git://github.com/the-tcpdump-group/tcpdump
[tcpdump] / print-ah.c
index 360fc5e5421e42f0418df12b2db3cf60503d2488..0badf48233bffc1b915278c12529d9e779009735 100644 (file)
@@ -21,6 +21,7 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -29,7 +30,7 @@
 
 #include "ah.h"
 
-#include "netdissect.h"
+#include "interface.h"
 #include "extract.h"
 
 int
@@ -38,7 +39,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. */