packet header, are there only if "wiretap" is used, so protect their use
with "#ifdef WITH_WIRETAP".
svn path=/trunk/; revision=147
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.16 1999/01/02 06:10:52 gram Exp $
+ * $Id: file.c,v 1.17 1999/01/03 01:57:24 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#endif
fdata->abs_secs = phdr->ts.tv_sec;
fdata->abs_usecs = phdr->ts.tv_usec;
+#ifdef WITH_WIRETAP
fdata->lnk_t = phdr->pkt_encap;
+#endif
/* 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