Fix compilation of pcap reopen code for older libpcap code.

remotes/origin/master-1.1.x
Victor Julien 15 years ago
parent 076d77cd80
commit c72e5f0ebb

@ -219,6 +219,7 @@ static int PcapTryReopen(PcapThreadVars *ptv)
static int PcapTryReopen(PcapThreadVars *ptv)
{
char errbuf[PCAP_ERRBUF_SIZE] = "";
char *tmpbpfstring;
ptv->pcap_state = PCAP_STATE_DOWN;
pcap_close(ptv->pcap_handle);

Loading…
Cancel
Save