summaryrefslogtreecommitdiff
path: root/contrib/libpcap
diff options
context:
space:
mode:
authorVANHULLEBUS Yvan <vanhu@FreeBSD.org>2009-03-16 15:09:47 +0000
committerVANHULLEBUS Yvan <vanhu@FreeBSD.org>2009-03-16 15:09:47 +0000
commitef39bc9f180616b0bd5ce1680513bcb87afe70a2 (patch)
tree88f7b07963d2d3bafacb052f4df2d8f6ad5f3468 /contrib/libpcap
parentad7de3aafbd53fa0fd0b4d339d8c3c65c6d805f0 (diff)
downloadsrc-test-ef39bc9f180616b0bd5ce1680513bcb87afe70a2.tar.gz
src-test-ef39bc9f180616b0bd5ce1680513bcb87afe70a2.zip
Added DLT_ENC to map list, so it is now possible
to save dumps on enc0 Reviewed by: gnn(mentor) Obtained from: NETASQ MFC after: 1 week
Notes
Notes: svn path=/head/; revision=189877
Diffstat (limited to 'contrib/libpcap')
-rw-r--r--contrib/libpcap/savefile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/libpcap/savefile.c b/contrib/libpcap/savefile.c
index e5a540315f984..09396f7cb5ec4 100644
--- a/contrib/libpcap/savefile.c
+++ b/contrib/libpcap/savefile.c
@@ -811,6 +811,9 @@ static struct linktype_map {
/* IPMB */
{ DLT_IPMB, LINKTYPE_IPMB },
+ /* enc0 device */
+ { DLT_ENC, LINKTYPE_ENC },
+
{ -1, -1 }
};