dect
/
libpcap
Archived
13
0
Fork 0

Fixed a compilation error under Windows. Some code left while porting the

libpcap code to the new pcap_create() pcap_activate() pattern.
This commit is contained in:
gianluca 2008-04-09 21:20:26 +00:00
parent 1b7a8f1c6e
commit 0bee352573
1 changed files with 1 additions and 3 deletions

View File

@ -33,7 +33,7 @@
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.38 2008-04-08 03:06:03 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.39 2008-04-09 21:20:26 gianluca Exp $ (LBL)";
#endif
#include <pcap-int.h>
@ -597,8 +597,6 @@ pcap_activate_win32(pcap_t *p)
PacketInitPacket(p->Packet,(BYTE*)p->buffer,p->bufsize);
p->snapshot = snaplen;
/* allocate the standard buffer in the driver */
if(PacketSetBuff( p->adapter, SIZE_BUF)==FALSE)
{