summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/savefile.c
diff options
context:
space:
mode:
authorvanhu <vanhu@FreeBSD.org>2009-03-16 15:09:47 +0000
committervanhu <vanhu@FreeBSD.org>2009-03-16 15:09:47 +0000
commit8f8f965b49feba7aa8f768ffd5b86df8bc3c68b5 (patch)
tree88f7b07963d2d3bafacb052f4df2d8f6ad5f3468 /contrib/libpcap/savefile.c
parentf2ee94c260e0b660966ca3fa499f93797ca14604 (diff)
downloadFreeBSD-src-8f8f965b49feba7aa8f768ffd5b86df8bc3c68b5.zip
FreeBSD-src-8f8f965b49feba7aa8f768ffd5b86df8bc3c68b5.tar.gz
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
Diffstat (limited to 'contrib/libpcap/savefile.c')
-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 e5a5403..09396f7 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 }
};
OpenPOWER on IntegriCloud