On Mon, 16 Mar 2009, VANHULLEBUS Yvan wrote:

Author: vanhu
Date: Mon Mar 16 15:09:47 2009
New Revision: 189877
URL: http://svn.freebsd.org/changeset/base/189877

Log:
 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


If you haven't you should also submit this upstream as OpenBSD can
make use of that as well. (www.tcpdump.org)


All entries (that aren't overlong) are tab separated in in the
linktype_map map[]. It would be nice, to keep the style of the vendor.


Modified:
 head/contrib/libpcap/savefile.c

Modified: head/contrib/libpcap/savefile.c
==============================================================================
--- head/contrib/libpcap/savefile.c     Mon Mar 16 12:42:23 2009        
(r189876)
+++ head/contrib/libpcap/savefile.c     Mon Mar 16 15:09:47 2009        
(r189877)
@@ -811,6 +811,9 @@ static struct linktype_map {
        /* IPMB */
        { DLT_IPMB,             LINKTYPE_IPMB },

+       /* enc0 device */
+       { DLT_ENC, LINKTYPE_ENC },
+
        { -1,                   -1 }
};



--
Bjoern A. Zeeb                      The greatest risk is not taking one.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to