summaryrefslogtreecommitdiffstats
path: root/lib/libpam
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-05-13 20:51:09 +0000
committerume <ume@FreeBSD.org>2005-05-13 20:51:09 +0000
commita3047efe51dd6b7bd67ef7123c9b143d3dec9deb (patch)
tree47b0e1c369f925f12821cc5c18304e629e8fe7ed /lib/libpam
parent0216f48e12457eeb1b3ee06607295d9d1830b190 (diff)
downloadFreeBSD-src-a3047efe51dd6b7bd67ef7123c9b143d3dec9deb.zip
FreeBSD-src-a3047efe51dd6b7bd67ef7123c9b143d3dec9deb.tar.gz
NI_WITHSCOPEID cleanup
Reviewed by: des
Diffstat (limited to 'lib/libpam')
-rw-r--r--lib/libpam/modules/pam_unix/pam_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/modules/pam_unix/pam_unix.c b/lib/libpam/modules/pam_unix/pam_unix.c
index e45a777..6a115bf 100644
--- a/lib/libpam/modules/pam_unix/pam_unix.c
+++ b/lib/libpam/modules/pam_unix/pam_unix.c
@@ -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);
OpenPOWER on IntegriCloud