aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-snoop.c
diff options
context:
space:
mode:
authorkenh <kenh>2000-02-08 20:46:45 +0000
committerkenh <kenh>2000-02-08 20:46:45 +0000
commitb52c6e13ff24ff640118d25fcb234282320a73bd (patch)
tree4f70d9338f75770cec75acdb786d3eb85acc0886 /pcap-snoop.c
parentb04bc7d664b8e02e727c67455e46ebd8eb997bc6 (diff)
Support ATM LANE emulated devices.
Diffstat (limited to 'pcap-snoop.c')
-rw-r--r--pcap-snoop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pcap-snoop.c b/pcap-snoop.c
index 1ea7fab..16d5cbe 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.20 1999-10-07 23:46:40 mcr Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-snoop.c,v 1.21 2000-02-08 20:46:45 kenh Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -176,7 +176,8 @@ pcap_open_live(char *device, int snaplen, int promisc, int to_ms, char *ebuf)
strncmp("ep", device, 2) == 0 || /* Challenge 8x10 Mbit EPLEX */
strncmp("vfe", device, 3) == 0 || /* Challenge VME 100Mbit */
strncmp("fa", device, 2) == 0 ||
- strncmp("qaa", device, 3) == 0) {
+ strncmp("qaa", device, 3) == 0 ||
+ strncmp("el", device, 2) == 0) {
p->linktype = DLT_EN10MB;
p->offset = RAW_HDRPAD(sizeof(struct ether_header));
} else if (strncmp("ipg", device, 3) == 0 ||