]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vxlan-gpe.c
GRE, VXLAN: Fix output printing with s/printf/ND_PRINT/
[tcpdump] / print-vxlan-gpe.c
index 6e6c4c077e302af6646fc396af525e38bbe0685b..b7676327635f11eba51a860d65dd0742bbfd508e 100644 (file)
@@ -136,10 +136,10 @@ vxlan_gpe_print(netdissect_options *ndo, const u_char *bp, u_int len)
     len -= 3;
 
     if (flags & VXLAN_GPE_B)
-        printf(", BUM");
+        ND_PRINT(", BUM");
 
     if (flags & VXLAN_GPE_O) {
-        printf(", OAM (proto 0x%x, len %u)", next_protocol, len);
+        ND_PRINT(", OAM (proto 0x%x, len %u)", next_protocol, len);
         return;
     }