isn't necessarily 32 bits.
Use unsigned data types for unsigned values.
#ifndef lint
static const char rcsid[] =
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.9 2000-09-29 04:58:35 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.10 2000-09-29 05:33:48 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
#endif
#ifdef HAVE_CONFIG_H
#define SLARP_REQUEST 0
#define SLARP_REPLY 1
#define SLARP_KEEPALIVE 2
#define SLARP_REQUEST 0
#define SLARP_REPLY 1
#define SLARP_KEEPALIVE 2
u_short unused[3];
} addr;
struct {
u_short unused[3];
} addr;
struct {
- long myseq;
- long yourseq;
- short rel;
- short t1;
- short t2;
+ u_int myseq;
+ u_int yourseq;
+ u_short rel;
+ u_short t1;
+ u_short t2;