diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2004-03-31 09:17:26 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2004-03-31 09:17:26 +0000 |
commit | 5b0fe47811aa43b75fc69dbf7338cace232a4d48 (patch) | |
tree | eb08e08f0f875c3b16f8e1aec86091f100906f1c /contrib/tcpdump/print-zephyr.c | |
parent | c76561e4dc56e0caaeade9b482501e52daad5ce3 (diff) | |
download | src-5b0fe47811aa43b75fc69dbf7338cace232a4d48.tar.gz src-5b0fe47811aa43b75fc69dbf7338cace232a4d48.zip |
Notes
Diffstat (limited to 'contrib/tcpdump/print-zephyr.c')
-rw-r--r-- | contrib/tcpdump/print-zephyr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/tcpdump/print-zephyr.c b/contrib/tcpdump/print-zephyr.c index f1b79074cba6..186960cb0e39 100644 --- a/contrib/tcpdump/print-zephyr.c +++ b/contrib/tcpdump/print-zephyr.c @@ -19,19 +19,19 @@ */ #ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.2.4.2 2002/07/11 07:49:19 guy Exp $"; +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.6.2.2 2003/11/16 08:51:56 guy Exp $"; #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include <tcpdump-stdinc.h> + #include <stdio.h> -#include <ctype.h> #include <string.h> #include <stdlib.h> -#include <sys/types.h> #include "interface.h" @@ -48,7 +48,7 @@ struct z_packet { char *inst; char *opcode; char *sender; - char *recipient; + const char *recipient; char *format; int cksum; int multi; @@ -105,7 +105,7 @@ parse_field(char **pptr, int *len) } static const char * -z_triple(char *class, char *inst, char *recipient) +z_triple(char *class, char *inst, const char *recipient) { if (!*recipient) recipient = "*"; |