From c3da12efe548a6642447bd942bbfba44032821bd Mon Sep 17 00:00:00 2001 From: assar Date: Sat, 29 Jul 2000 08:03:05 +0000 Subject: replace bzero with memset --- print-tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print-tcp.c') 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) { -- cgit v1.2.1