aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/lanalyzer.c
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-01-07 16:15:37 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-01-07 16:15:37 +0000
commit44b715333a188a86f0164a4ccc9d09523d05d142 (patch)
tree8602e5907bc45a8c177a131334bde39f7b60137a /wiretap/lanalyzer.c
parente7b1b1e1b69d7df8f03ccfacdb00d7572d0cea26 (diff)
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
Diffstat (limited to 'wiretap/lanalyzer.c')
-rw-r--r--wiretap/lanalyzer.c3
1 files changed, 2 insertions, 1 deletions
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 <gram@verdict.uthscsa.edu>
@@ -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;
}