mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Rename intf_get_pcap_devname to eth_get_pcap_devname to reflect its new home.
This commit is contained in:
2
tcpip.cc
2
tcpip.cc
@@ -928,7 +928,7 @@ bool DnetName2PcapName(const char *dnetdev, char *pcapdev, int pcapdevlen) {
|
||||
// OK, so it isn't in the cache. Let's ask dnet for it.
|
||||
/* Converts a dnet interface name (ifname) to its pcap equivalent, which is stored in
|
||||
pcapdev (up to a length of pcapdevlen). Returns 0 and fills in pcapdev if successful. */
|
||||
if (intf_get_pcap_devname(dnetdev, tmpdev, sizeof(tmpdev)) != 0)
|
||||
if (eth_get_pcap_devname(dnetdev, tmpdev, sizeof(tmpdev)) != 0)
|
||||
return false;
|
||||
|
||||
// We've got it. Let's add it to the cache
|
||||
|
||||
Reference in New Issue
Block a user