From 44b715333a188a86f0164a4ccc9d09523d05d142 Mon Sep 17 00:00:00 2001 From: gram Date: Thu, 7 Jan 1999 16:15:37 +0000 Subject: I removed the per-file encapsulation type from wiretap, and make all filetypes provide a per-packet encapsulation type. this required minor modifications to ethereal. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@162 f5534014-38df-0310-8fa8-9805f1628bb7 --- wiretap/lanalyzer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wiretap/lanalyzer.c') diff --git a/wiretap/lanalyzer.c b/wiretap/lanalyzer.c index 7399b43041..bb59762626 100644 --- a/wiretap/lanalyzer.c +++ b/wiretap/lanalyzer.c @@ -1,6 +1,6 @@ /* lanalyzer.c * - * $Id: lanalyzer.c,v 1.6 1998/12/13 05:38:13 gram Exp $ + * $Id: lanalyzer.c,v 1.7 1999/01/07 16:15:35 gram Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez @@ -214,6 +214,7 @@ int lanalyzer_read(wtap *wth) wth->phdr.len = true_size - 4; wth->phdr.caplen = packet_size; + wth->phdr.pkt_encap = wth->encapsulation; return data_offset; } -- cgit v1.2.3