]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vxlan-gpe.c
CI: Add warning exemptions for Sun C (suncc-5.14) on Solaris 10
[tcpdump] / print-vxlan-gpe.c
index 6e6c4c077e302af6646fc396af525e38bbe0685b..2af9a65a043a4246e4cc5775b6ef4eb01e007e4f 100644 (file)
@@ -25,9 +25,7 @@
 
 /* specification: draft-ietf-nvo3-vxlan-gpe-12 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -136,10 +134,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;
     }