Fix some minor Coverity Scan complaints.

This commit is contained in:
Jon Siwek 2014-10-30 13:25:29 -05:00
parent 432744fde4
commit dec96234e3
6 changed files with 14 additions and 2 deletions

View file

@ -506,6 +506,7 @@ bool PktSrc::ApplyBPFFilter(int index, const struct pcap_pkthdr *hdr, const u_ch
{
Error(fmt("BPF filter %d not compiled", index));
Close();
return false;
}
if ( code->MatchesAnything() )