diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-11-12 23:36:17 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-11-12 23:36:17 +0000 |
commit | 7c6af783e54f3321bf9cebdec99b32f1088f21ff (patch) | |
tree | dd45922cc6dee12c5342a04be207ea3f65151f59 /lib | |
parent | 39849f80f84fceadabb06fe6c6b9a290f835577a (diff) | |
download | FreeBSD-src-7c6af783e54f3321bf9cebdec99b32f1088f21ff.zip FreeBSD-src-7c6af783e54f3321bf9cebdec99b32f1088f21ff.tar.gz |
Fix on sparc64.
Reported by: rwatson/tinderbox
MFC after: 2 weeks
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpam/modules/pam_radius/pam_radius.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/modules/pam_radius/pam_radius.c b/lib/libpam/modules/pam_radius/pam_radius.c index 5bb65ec..cf81951 100644 --- a/lib/libpam/modules/pam_radius/pam_radius.c +++ b/lib/libpam/modules/pam_radius/pam_radius.c @@ -111,7 +111,7 @@ build_access_request(struct rad_handle *radh, const char *user, hints.ai_family = PF_INET; if (getaddrinfo(nas_ipaddr, NULL, &hints, &res) == 0 && res != NULL) { - haddr = (struct sockaddr_in *)res->ai_addr; + (struct sockaddr *)haddr = res->ai_addr; error = rad_put_addr(radh, RAD_NAS_IP_ADDRESS, haddr->sin_addr); freeaddrinfo(res); |