aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-snoop.c
diff options
context:
space:
mode:
authorguy <guy>2002-03-07 11:39:13 +0000
committerguy <guy>2002-03-07 11:39:13 +0000
commit03550aa8e203396fd7a20f78bbd583a056af6943 (patch)
tree35d9c642763881f2fa1fe9b2bda4250b9754cbd1 /pcap-snoop.c
parenta579c1219ce8fb643517ad22fe936e350eeae2d5 (diff)
Add support for gigabit Ethernet interfaces on SGI machines, from David
Kaelbling <drk@sgi.com>.
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 76c4715..17c7ba7 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.34 2002-03-07 11:39:13 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 */