]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-geneve.c
Update .gitignore for other configurations
[tcpdump] / print-geneve.c
index a27c2b066ad732412dd99e722294552f5526891b..c6ec3a5350664185765e8d1b43cefbe05f49a2cc 100644 (file)
@@ -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);
 }