diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-09 07:51:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-09 07:51:01 +0000 |
commit | 4279815244cb4df2d63c6441d6c2073df04de62c (patch) | |
tree | 8c827cf3879aa7a413544aaae3dee53d6ce1d129 /pcap-util.c | |
parent | 40b22f317b55ecd98cfbd7eeca2015a09de76e86 (diff) |
Put in an XXX note indicating that if we conclude we're using the AIX
libpcap, we may also want to return a flag indicating that we have to
map seconds/nanoseconds in the packet header to seconds/microseconds.
svn path=/trunk/; revision=4185
Diffstat (limited to 'pcap-util.c')
-rw-r--r-- | pcap-util.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pcap-util.c b/pcap-util.c index 4de6ad6079..80e60d54ea 100644 --- a/pcap-util.c +++ b/pcap-util.c @@ -1,7 +1,7 @@ /* pcap-util.c * Utility routines for packet capture * - * $Id: pcap-util.c,v 1.1 2001/11/09 07:44:48 guy Exp $ + * $Id: pcap-util.c,v 1.2 2001/11/09 07:51:01 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -117,6 +117,12 @@ get_pcap_linktype(pcap_t *pch, char *devname) * linked with AIX's non-standard libpcap, but so it goes. They * *will* be readable by standard versions of tcpdump, Ethereal, * and so on.) + * + * XXX - if we conclude we're using AIX libpcap, should we also + * set a flag to cause us to assume the time stamps are in + * seconds-and-nanoseconds form, and to convert them to + * seconds-and-microseconds form before processing them and + * writing them out? */ /* |