NI_WITHSCOPEID cleanup
Reviewed by: des
This commit is contained in:
parent
de6a1361a5
commit
d928d41c84
@ -231,7 +231,7 @@ pam_sm_acct_mgmt(pam_handle_t *pamh, int flags __unused,
|
||||
if (getaddrinfo(rhost, NULL, &hints, &res) == 0) {
|
||||
getnameinfo(res->ai_addr, res->ai_addrlen,
|
||||
rhostip, sizeof(rhostip), NULL, 0,
|
||||
NI_NUMERICHOST|NI_WITHSCOPEID);
|
||||
NI_NUMERICHOST);
|
||||
}
|
||||
if (res != NULL)
|
||||
freeaddrinfo(res);
|
||||
|
Loading…
Reference in New Issue
Block a user