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

Change hostname parameter to const char *.

This commit is contained in:
batrick
2012-03-04 07:26:16 +00:00
parent c210f29b28
commit 4e7756e4de
3 changed files with 3 additions and 7 deletions

View File

@@ -264,7 +264,7 @@ const char *inet_socktop(struct sockaddr_storage *ss);
structure. This function calls getaddrinfo and returns the same
addrinfo linked list that getaddrinfo produces. Returns NULL for any
error or failure to resolve. */
struct addrinfo *resolve_all(char *hostname, int pf);
struct addrinfo *resolve_all(const char *hostname, int pf);
/* Takes a destination address (dst) and tries to determine the
source address and interface necessary to route to this address.