diff options
author | guy <guy> | 2004-07-21 22:00:10 +0000 |
---|---|---|
committer | guy <guy> | 2004-07-21 22:00:10 +0000 |
commit | 03862177ea6a26f0792f47e736f2457b4fc7c898 (patch) | |
tree | bd078e8a51485c6489689458714bb84ae2f86121 /print-esp.c | |
parent | 608bcf8fa928d0f5d75d525359fcb6425da7d041 (diff) | |
download | tcpdump-03862177ea6a26f0792f47e736f2457b4fc7c898.tar.gz |
The first argument to "ascii_print_with_offset()", "ascii_print()",
"hex_print_with_offset()", and "hex_print()" is a string used as a tag;
make it a "const char *", not a "const u_char *".
Copy the declaration of "strsep()" from "interface.h" to "netdissect.h",
and get rid of the include of "interface.h" from "print-esp.c", as it
includes "netdissect.h".
Update the "ND_TTEST2()" macro to do the same overflow checks that
"TTEST2()" now does.
Diffstat (limited to 'print-esp.c')
-rw-r--r-- | print-esp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/print-esp.c b/print-esp.c index 43bdfa79..6855a8c7 100644 --- a/print-esp.c +++ b/print-esp.c @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.54 2004-07-21 21:42:32 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.55 2004-07-21 22:00:11 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -50,7 +50,6 @@ static const char rcsid[] _U_ = #include "ip6.h" #endif -#include "interface.h" #include "netdissect.h" #include "addrtoname.h" #include "extract.h" |