pcap: fix storage of name and type in queues