Fixed bugs in pcap_next(). Now testing it...