]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Make the "addr_len" variable a "u_int", as we pass a pointer to it to a
authorguy <guy>
Fri, 2 Apr 2004 06:53:51 +0000 (06:53 +0000)
committerguy <guy>
Fri, 2 Apr 2004 06:53:51 +0000 (06:53 +0000)
routine that expects a "u_int *", and we never use it in a way that
requires it to be signed.

print-fr.c

index 9185304c68af17792097a65348403dc7bdd7f1c1..899a633879865ceb96e0f1122a447de4210d86af 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-       "@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.17.2.3 2003-12-15 03:37:45 guy Exp $ (LBL)";
+       "@(#)$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
@@ -203,7 +203,7 @@ fr_if_print(const struct pcap_pkthdr *h, register const u_char *p)
        u_int32_t orgcode;
        register u_short et;
        u_int dlci;
-       int addr_len;
+       u_int addr_len;
        u_char nlpid;
        u_int hdr_len;
        char *flags;