]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-arcnet.c
Add SIGINFO handler from LBL
[tcpdump] / print-arcnet.c
index 1e6b2308821460784d6859136ce2bb0e285477c5..b553750902702a24771c7d03a28e6ad7f7063af1 100644 (file)
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-arcnet.c,v 1.1 2001-04-17 08:39:19 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-arcnet.c,v 1.3 2001-05-22 06:23:29 guy Exp $ (LBL)";
+#endif
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
 #endif
 
 #include <sys/param.h>
@@ -133,7 +137,7 @@ arcnet_if_print(u_char *user, const struct pcap_pkthdr *h, const u_char *p)
        u_int length = h->len;
        struct arc_header *ap;
 
-       int phds, flag = 0, archdrlen;
+       int phds, flag = 0, archdrlen = 0;
        u_int seqid = 0;
        u_char arc_type;