NI_WITHSCOPEID cleanup

Reviewed by:	des
This commit is contained in:
Hajimu UMEMOTO 2005-05-13 20:51:09 +00:00
parent de6a1361a5
commit d928d41c84

View File

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