get linktype to client so pcap_open_dead() can work