]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-geneve.c
Default to first interface from pcap_findalldevs()
[tcpdump] / print-geneve.c
index 28cb92bddedde412c15664e90457257a49f5bcf2..7550ba06a1c3435243cd89970a71f9a328332be0 100644 (file)
@@ -19,9 +19,9 @@
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
-#include "interface.h"
+#include "netdissect.h"
 #include "extract.h"
 #include "ethertype.h"
 
@@ -131,7 +131,7 @@ void
 geneve_print(netdissect_options *ndo, const u_char *bp, u_int len)
 {
     uint8_t ver_opt;
-    uint version;
+    u_int version;
     uint8_t flags;
     uint16_t prot;
     uint32_t vni;