aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-snoop.c
diff options
context:
space:
mode:
authorguy <guy>2001-06-05 03:48:41 +0000
committerguy <guy>2001-06-05 03:48:41 +0000
commit9f302b1f7faa6cf19c49bea627ae5ab0f7ec0ef0 (patch)
treed607c74a7100eaf91f8fe21be0bce3d51848b913 /pcap-snoop.c
parent8b26b4e6efdf679c020591c61c042b8ee4a4997d (diff)
Support for capturing on encrypted CIPE tunnels in IRIX, from Franz
Schaefer <schaefer@mond.at>.
Diffstat (limited to 'pcap-snoop.c')
-rw-r--r--pcap-snoop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcap-snoop.c b/pcap-snoop.c
index 82e51c4..4eccc80 100644
--- a/pcap-snoop.c
+++ b/pcap-snoop.c
@@ -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));