Fix port reuse from pcap file