Used pcap_add_if() to avoid double free error.