From 8f8f965b49feba7aa8f768ffd5b86df8bc3c68b5 Mon Sep 17 00:00:00 2001 From: vanhu Date: Mon, 16 Mar 2009 15:09:47 +0000 Subject: 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 --- contrib/libpcap/savefile.c | 3 +++ 1 file changed, 3 insertions(+) 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 } }; -- cgit v1.1