summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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