]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-zephyr.c
Convert tests/arp-too-long-tha.pcap to a pcap file.
[tcpdump] / print-zephyr.c
index 64b37d163baad48f848698edfec8080ad0ef52e7..eddbe8598fb43895254712e33788b88fc9fc6893 100644 (file)
 /* \summary: Zephyr printer */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
-#include <netdissect-stdinc.h>
+#include "netdissect-stdinc.h"
 
 #include <stdio.h>
 #include <string.h>
@@ -119,7 +119,7 @@ z_triple(const char *class, const char *inst, const char *recipient)
 {
     if (!*recipient)
        recipient = "*";
-    snprintf(z_buf, sizeof(z_buf), "<%s,%s,%s>", class, inst, recipient);
+    nd_snprintf(z_buf, sizeof(z_buf), "<%s,%s,%s>", class, inst, recipient);
     z_buf[sizeof(z_buf)-1] = '\0';
     return z_buf;
 }