Handle error value from pcap_next_ex.