summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguy <guy>2002-03-07 11:39:41 +0000
committerguy <guy>2002-03-07 11:39:41 +0000
commit7127fcf4f338c30c61cf2803547a40827024809a (patch)
treea14eb0f1ce795f052721cbcfb70b3cdfc042091d
parent601c91f8ca3cc6c6664031d4db3651fac8d83fd9 (diff)
downloadlibpcap-7127fcf4f338c30c61cf2803547a40827024809a.tar.gz
Add support for gigabit Ethernet interfaces on SGI machines, from David
Kaelbling <drk@sgi.com>.
-rw-r--r--CREDITS1
-rw-r--r--pcap-snoop.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/CREDITS b/CREDITS
index 0da646b5..1b07cfca 100644
--- a/CREDITS
+++ b/CREDITS
@@ -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>
+ David Kaelbling <drk@sgi.com>
Franz Schaefer <schaefer@mond.at>
Graeme Hewson <ghewson@cix.compulink.co.uk>
Greg Troxel <gdt@ir.bbn.com>
diff --git a/pcap-snoop.c b/pcap-snoop.c
index 76c4715d..e1c32ba9 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.33 2001-12-10 07:14:21 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-snoop.c,v 1.33.2.1 2002-03-07 11:39:42 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -191,6 +191,7 @@ pcap_open_live(char *device, int snaplen, int promisc, int to_ms, char *ebuf)
strncmp("ec", device, 2) == 0 || /* Indigo/Indy 10 Mbit,
O2 10/100 */
strncmp("ef", device, 2) == 0 || /* O200/2000 10/100 Mbit */
+ strncmp("eg", device, 2) == 0 || /* Octane/O2xxx/O3xxx Gigabit */
strncmp("gfe", device, 3) == 0 || /* GIO 100 Mbit */
strncmp("fxp", device, 3) == 0 || /* Challenge VME Enet */
strncmp("ep", device, 2) == 0 || /* Challenge 8x10 Mbit EPLEX */