1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Inline getpcapinterfaces, used in only 1 location

This commit is contained in:
dmiller
2020-01-14 03:39:25 +00:00
parent 86f80305a1
commit 7faec7f157
3 changed files with 4 additions and 28 deletions

View File

@@ -393,10 +393,6 @@ int readudppacket(const u8 *packet, int readdata);
the interface_info for the first one found. If non found, returns NULL */
struct interface_info *getInterfaceByIP(struct sockaddr_storage *ss);
pcap_if_t *getpcapinterfaces();
/* Fill buf (up to buflen -- truncate if necessary but always
terminate) with a short representation of the packet stats.
Returns buf. Aborts if there is a problem. */