From owner-svn-src-head@FreeBSD.ORG Mon Mar 16 16:40:09 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 164BE106566C; Mon, 16 Mar 2009 16:40:09 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id BF9B98FC13; Mon, 16 Mar 2009 16:40:08 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 4108041C6BB; Mon, 16 Mar 2009 17:40:07 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id GaIk2d-l9kIm; Mon, 16 Mar 2009 17:40:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id D3A6441C6A1; Mon, 16 Mar 2009 17:40:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 15E644448E6; Mon, 16 Mar 2009 16:38:56 +0000 (UTC) Date: Mon, 16 Mar 2009 16:38:56 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: VANHULLEBUS Yvan In-Reply-To: <200903161509.n2GF9lT6063773@svn.freebsd.org> Message-ID: <20090316163648.Q96785@maildrop.int.zabbadoz.net> References: <200903161509.n2GF9lT6063773@svn.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, "George V. Neville-Neil" , svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r189877 - head/contrib/libpcap X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 16:40:09 -0000 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.