dect
/
libpcap
Archived
13
0
Fork 0

Support for capturing on encrypted CIPE tunnels in IRIX, from Franz

Schaefer <schaefer@mond.at>.
This commit is contained in:
guy 2001-06-05 03:48:41 +00:00
parent 8b26b4e6ef
commit 9f302b1f7f
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,7 @@ Additional people who have contributed patches:
Chris G. Demetriou <cgd@netbsd.org>
Chris Pepper <pepper@mail.reppep.com>
Darren Reed <darrenr@reed.wattle.id.au>
Franz Schaefer <schaefer@mond.at>
Greg Troxel <gdt@ir.bbn.com>
Igor Khristophorov <igor@atdot.org>
Jason R. Thorpe <thorpej@zembu.com>

View File

@ -20,7 +20,7 @@
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-snoop.c,v 1.30 2000-10-28 00:01:30 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/libpcap/pcap-snoop.c,v 1.31 2001-06-05 03:48:41 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@ -179,6 +179,7 @@ pcap_open_live(char *device, int snaplen, int promisc, int to_ms, char *ebuf)
strncmp("vfe", device, 3) == 0 || /* Challenge VME 100Mbit */
strncmp("fa", device, 2) == 0 ||
strncmp("qaa", device, 3) == 0 ||
strncmp("cip", device, 3) == 0 ||
strncmp("el", device, 2) == 0) {
p->linktype = DLT_EN10MB;
p->offset = RAW_HDRPAD(sizeof(struct ether_header));