Make lookup_host function invocation parameter match its prototype.
This commit is contained in:
parent
8b5ae4db0d
commit
6902e79099
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132847
@ -543,6 +543,7 @@ static int
|
||||
lookup_host (host, addr, family)
|
||||
char *host;
|
||||
u_char *addr;
|
||||
int family;
|
||||
{
|
||||
struct hostent *he;
|
||||
|
||||
@ -574,7 +575,7 @@ fill_ip6(ipno, mask, acp, avp)
|
||||
*p++ = '\0';
|
||||
}
|
||||
|
||||
if (lookup_host(*av, ipno, AF_INET6) != 0)
|
||||
if (lookup_host(*av, (u_char *)ipno, AF_INET6) != 0)
|
||||
show_usage("hostname ``%s'' unknown", *av);
|
||||
switch (md) {
|
||||
case '/':
|
||||
|
Loading…
Reference in New Issue
Block a user