diff options
author | fenner <fenner@FreeBSD.org> | 2003-03-02 08:22:26 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 2003-03-02 08:22:26 +0000 |
commit | 5f76ebca43302f98858e83a6212d9c610e939bad (patch) | |
tree | c244ceda18deb5fc8e576971e1e83b7b631f5219 /contrib/tcpdump/print-zephyr.c | |
parent | 24ede2d805a7ffac09999aafe7d4f285e45a6edd (diff) | |
download | FreeBSD-src-5f76ebca43302f98858e83a6212d9c610e939bad.zip FreeBSD-src-5f76ebca43302f98858e83a6212d9c610e939bad.tar.gz |
Import tcpdump 3.7.2 (fudging for multi-DLT support) from
http://www.tcpdump.org/release/tcpdump-3.7.2.tar.gz
Diffstat (limited to 'contrib/tcpdump/print-zephyr.c')
-rw-r--r-- | contrib/tcpdump/print-zephyr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/tcpdump/print-zephyr.c b/contrib/tcpdump/print-zephyr.c index 5792e60..f1b7907 100644 --- a/contrib/tcpdump/print-zephyr.c +++ b/contrib/tcpdump/print-zephyr.c @@ -20,7 +20,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.2 2001/09/11 02:37:12 guy Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.2.4.2 2002/07/11 07:49:19 guy Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -56,7 +56,7 @@ struct z_packet { /* Other fields follow here.. */ }; -enum { +enum z_packet_type { Z_PACKET_UNSAFE = 0, Z_PACKET_UNACKED, Z_PACKET_ACKED, @@ -66,7 +66,7 @@ enum { Z_PACKET_SERVNAK, Z_PACKET_CLIENTACK, Z_PACKET_STAT -} z_packet_type; +}; static struct tok z_types[] = { { Z_PACKET_UNSAFE, "unsafe" }, @@ -122,7 +122,7 @@ str_to_lower(char *string) string = z_buf; while (*string) { - *string = tolower(*string); + *string = tolower((unsigned char)(*string)); string++; } |