aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-01-02 06:10:55 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-01-02 06:10:55 +0000
commit3688d96c459a5847a49d14264c0398600379f8b9 (patch)
treef87737491cb959697c6414b4ea1745e7528c1acc /file.c
parentd1a7effcf97733edfac7ea145cccddc1032cbf6f (diff)
downloadwireshark-3688d96c459a5847a49d14264c0398600379f8b9.tar.gz
wireshark-3688d96c459a5847a49d14264c0398600379f8b9.tar.bz2
wireshark-3688d96c459a5847a49d14264c0398600379f8b9.zip
Added the iptrace (AIX's packet-capture tool) file format to wiretap.
This necessitated a change in ethereal because iptrace supports multi-NIC packet capturing, including multi-datalink-type capturing. svn path=/trunk/; revision=145
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.c b/file.c
index f7d55c5070..8adee33cc1 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.15 1998/12/29 04:05:35 gerald Exp $
+ * $Id: file.c,v 1.16 1999/01/02 06:10:52 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -330,6 +330,7 @@ pcap_dispatch_cb(u_char *user, const struct pcap_pkthdr *phdr,
#endif
fdata->abs_secs = phdr->ts.tv_sec;
fdata->abs_usecs = phdr->ts.tv_usec;
+ fdata->lnk_t = phdr->pkt_encap;
/* If we don't have the time stamp of the first packet, it's because this
is the first packet. Save the time stamp of this packet as the time