]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-fr.c
add tracefiles for infinite loop testing
[tcpdump] / print-fr.c
index 4235cc6b1cef59c89eb0a502f66dc4ba22064d05..899a633879865ceb96e0f1122a447de4210d86af 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+       "@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.17.2.4 2004-04-02 06:53:51 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ethertype.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-       "@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.18 2003-11-15 00:39:22 guy Exp $ (LBL)";
-#endif
 static void lmi_print(const u_char *, u_int);
 
 #define NLPID_LMI       0x08   /* ANSI T1.617 Annex D or ITU-T Q.933 Annex A */
@@ -202,7 +202,8 @@ fr_if_print(const struct pcap_pkthdr *h, register const u_char *p)
        u_short extracted_ethertype;
        u_int32_t orgcode;
        register u_short et;
-       int dlci, addr_len;
+       u_int dlci;
+       u_int addr_len;
        u_char nlpid;
        u_int hdr_len;
        char *flags;