fix pcap_lookupnet problem