aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-03-03 01:49:16 +0000
committerGuy Harris <guy@alum.mit.edu>2004-03-03 01:49:16 +0000
commitcf1466d6237c2ea75c88683be54f4eb984d16ff7 (patch)
tree03f09b800f53dd106af179684be7ec11ba11b44f /wiretap
parent771bcfb014347da176e5b70f0f3b2d45e830cfcb (diff)
Set the packet encapsulation value to the file encapsulation.
svn path=/trunk/; revision=10285
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/eyesdn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/eyesdn.c b/wiretap/eyesdn.c
index bfce6ee9db..662d2a769c 100644
--- a/wiretap/eyesdn.c
+++ b/wiretap/eyesdn.c
@@ -1,6 +1,6 @@
/* eyesdn.c
*
- * $Id: eyesdn.c,v 1.3 2004/02/13 19:19:13 guy Exp $
+ * $Id: eyesdn.c,v 1.4 2004/03/03 01:49:16 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -220,6 +220,7 @@ static gboolean eyesdn_read(wtap *wth, int *err, gchar **err_info,
wth->data_offset = offset;
*data_offset = offset;
+ wth->phdr.pkt_encap = wth->file_encap;
return TRUE;
}