Fix pcap parsing