diff options
author | Guy Harris <guy@alum.mit.edu> | 1998-12-15 04:11:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1998-12-15 04:11:58 +0000 |
commit | dfceeaeb7c414e22c6037b8619b112b94ab202b6 (patch) | |
tree | 1cad6d47dc03aa594299e7b42adbd6ee0e2d5578 /wiretap/ngsniffer.c | |
parent | 40dfa08babc546cdcdef3fab9e4f84937bd23ff3 (diff) | |
download | wireshark-dfceeaeb7c414e22c6037b8619b112b94ab202b6.tar.gz |
Fix the bitmask for the hour field in a DOS-format time (not that it
matters, as that code is commented out).
svn path=/trunk/; revision=125
Diffstat (limited to 'wiretap/ngsniffer.c')
-rw-r--r-- | wiretap/ngsniffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/ngsniffer.c b/wiretap/ngsniffer.c index 819dbf976d..8a84c47359 100644 --- a/wiretap/ngsniffer.c +++ b/wiretap/ngsniffer.c @@ -1,6 +1,6 @@ /* ngsniffer.c * - * $Id: ngsniffer.c,v 1.8 1998/12/13 05:08:04 gram Exp $ + * $Id: ngsniffer.c,v 1.9 1998/12/15 04:11:58 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu> @@ -175,7 +175,7 @@ int ngsniffer_open(wtap *wth) tm.tm_mday = (start_date&0x1f); /* The time does not appear to act as an * offset; only the date - tm.tm_hour = (start_time&0xfc00)>>11; + tm.tm_hour = (start_time&0xf800)>>11; tm.tm_min = (start_time&0x7e0)>>5; tm.tm_sec = (start_time&0x1f)<<1;*/ tm.tm_hour = 0; |