Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2009 16:38:56 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        VANHULLEBUS Yvan <vanhu@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, "George V. Neville-Neil" <gnn@freebsd.org>, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r189877 - head/contrib/libpcap
Message-ID:  <20090316163648.Q96785@maildrop.int.zabbadoz.net>
In-Reply-To: <200903161509.n2GF9lT6063773@svn.freebsd.org>
References:  <200903161509.n2GF9lT6063773@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090316163648.Q96785>