From: guy Date: Tue, 15 Jun 2004 00:00:04 +0000 (+0000) Subject: From Raphael Raimbault : "-tttt" requires X-Git-Tag: tcpdump-3.9.1~338 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/5f952fca9a11e95d74514455a6e5a289f525dcae From Raphael Raimbault : "-tttt" requires the time zone offset, so get it with "gmt2local()" if "tflag" is -3. --- diff --git a/CREDITS b/CREDITS index 93debe21..53fdaf2b 100644 --- a/CREDITS +++ b/CREDITS @@ -100,6 +100,7 @@ Additional people who have contributed patches: Peter Jeremy Phil Wood Rafal Maszkowski + Raphael Raimbault Rick Jones Rick Watson Rob Braun diff --git a/tcpdump.c b/tcpdump.c index 44032842..04f0979d 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -30,7 +30,7 @@ static const char copyright[] _U_ = "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\ The Regents of the University of California. All rights reserved.\n"; static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.242 2004-04-07 08:14:10 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.243 2004-06-15 00:00:04 guy Exp $ (LBL)"; #endif /* @@ -741,7 +741,7 @@ main(int argc, char **argv) /* NOTREACHED */ } - if (tflag > 0) + if (tflag > 0 || tflag == -3) thiszone = gmt2local(0); #ifdef WITH_CHROOT