diff options
author | assar <assar> | 2000-07-29 08:03:05 +0000 |
---|---|---|
committer | assar <assar> | 2000-07-29 08:03:05 +0000 |
commit | c3da12efe548a6642447bd942bbfba44032821bd (patch) | |
tree | c71f31837e03597a7d0ba6da34abb4449f6f5c73 /print-tcp.c | |
parent | 1bdce8fba36cc43d0dccf1336dce90bbe5526949 (diff) | |
download | tcpdump-c3da12efe548a6642447bd942bbfba44032821bd.tar.gz |
replace bzero with memset
Diffstat (limited to 'print-tcp.c')
-rw-r--r-- | print-tcp.c | 4 |
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) { |