1
0
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:
david
2008-06-20 20:44:54 +00:00
parent b145c5549d
commit 09cc37f7f0
4 changed files with 5 additions and 4 deletions

View File

@@ -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