]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-geneve.c
ICMPv6: Add the IPv6-Only flag
[tcpdump] / print-geneve.c
index 7a14ab40ce76aecaf70580faef7c98b806df6132..c6ec3a5350664185765e8d1b43cefbe05f49a2cc 100644 (file)
@@ -18,7 +18,7 @@
 /* \summary: Generic Network Virtualization Encapsulation (Geneve) printer */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include "netdissect-stdinc.h"
@@ -153,6 +153,7 @@ geneve_print(netdissect_options *ndo, const u_char *bp, u_int len)
     uint8_t reserved;
     u_int opts_len;
 
+    ndo->ndo_protocol = "geneve";
     ND_PRINT("Geneve");
 
     ND_TCHECK_8(bp);
@@ -233,5 +234,5 @@ geneve_print(netdissect_options *ndo, const u_char *bp, u_int len)
     return;
 
 trunc:
-    ND_PRINT(" [|geneve]");
+    nd_print_trunc(ndo);
 }