aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrisso <risso>2002-11-11 10:34:06 +0000
committerrisso <risso>2002-11-11 10:34:06 +0000
commitb323d42b7afd1f4d5a327d29cd22a91607e6e5df (patch)
tree5ea5e22f40e6336ffd82d5859aecf1aaff59f533
parent8b5f7cc99ecf9f4a5e076591730c358445f303a4 (diff)
Added support for raw ARCNET (878.1) under Win32.
-rw-r--r--pcap-win32.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pcap-win32.c b/pcap-win32.c
index feb1a3b..e076877 100644
--- a/pcap-win32.c
+++ b/pcap-win32.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.2 2002-08-05 07:45:09 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.3 2002-11-11 10:34:06 risso Exp $ (LBL)";
#endif
#include <pcap-int.h>
@@ -163,6 +163,9 @@ pcap_open_live(char *device, int snaplen, int promisc, int to_ms, char *ebuf)
p->linktype = DLT_IEEE802;
break;
+ case NdisMediumArcnetRaw:
+ p->linktype = DLT_ARCNET;
+
case NdisMediumArcnet878_2:
p->linktype = DLT_ARCNET;
break;