mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Revert the last change. There are more 64bit platforms than amd64, and
they break due to diferent alignment restrictions.
This commit is contained in:
parent
ace18b764a
commit
2758535974
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