diff --git a/pcap-win32.c b/pcap-win32.c index 8f58f64..1b4ce90 100644 --- a/pcap-win32.c +++ b/pcap-win32.c @@ -33,7 +33,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.25.2.6 2007-02-19 18:33:37 gianluca Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.25.2.7 2007-06-14 22:07:14 gianluca Exp $ (LBL)"; #endif #include @@ -495,6 +495,10 @@ pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, p->linktype = DLT_IEEE802_11_RADIO; break; + case NdisMediumPpi: + p->linktype = DLT_PPI; + break; + default: p->linktype = DLT_EN10MB; /*an unknown adapter is assumed to be ethernet*/ break;