1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 16:39:03 +00:00

Fix a variable name (broke Windows build in r37875, 7faec7f15)

This commit is contained in:
dmiller
2020-02-07 05:07:09 +00:00
parent f15fc6bb78
commit f37a4bc42e

View File

@@ -319,7 +319,7 @@ static void print_iflist_pcap_mapping(const struct interface_info *iflist,
/* Build a list of "leftover" libpcap interfaces. Initially it contains all
the interfaces. */
if (o.have_pcap) {
if (pcap_findalldevs(&p_ifaces, errbuf) == -1) {
if (pcap_findalldevs(&pcap_ifs, errbuf) == -1) {
fatal("pcap_findalldevs(): Cannot retrieve pcap interfaces: %s", errbuf);
}
for (const pcap_if_t *p = pcap_ifs; p != NULL; p = p->next)