]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ah.c
Translate UDP/1700 as RADIUS
[tcpdump] / print-ah.c
index dd4130e49943c7d66c03929f12641bed7bff3476..5db28d193f8e85b495727e5b1bed55fbba94ee47 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
 #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. */