mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 06:39:32 -04:00
Fix on sparc64.
Reported by: rwatson/tinderbox MFC after: 2 weeks
This commit is contained in:
parent
2683ceb661
commit
cd28f89c12
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue