summaryrefslogtreecommitdiff
path: root/print-tcp.c
diff options
context:
space:
mode:
authorassar <assar>2000-07-29 08:03:05 +0000
committerassar <assar>2000-07-29 08:03:05 +0000
commitc3da12efe548a6642447bd942bbfba44032821bd (patch)
treec71f31837e03597a7d0ba6da34abb4449f6f5c73 /print-tcp.c
parent1bdce8fba36cc43d0dccf1336dce90bbe5526949 (diff)
downloadtcpdump-c3da12efe548a6642447bd942bbfba44032821bd.tar.gz
replace bzero with memset
Diffstat (limited to 'print-tcp.c')
-rw-r--r--print-tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-tcp.c b/print-tcp.c
index fa209918..895cf216 100644
--- a/print-tcp.c
+++ b/print-tcp.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.67 2000-07-01 03:39:10 assar Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.68 2000-07-29 08:03:05 assar Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -252,7 +252,7 @@ tcp_print(register const u_char *bp, register u_int length,
* both directions).
*/
#ifdef INET6
- bzero(&tha, sizeof(tha));
+ memset(&tha, 0, sizeof(tha));
rev = 0;
if (ip6) {
if (sport > dport) {