fix MacOSX compile error (#1354, #1355)

This commit is contained in:
Sukchan Lee 2022-02-18 22:00:57 +09:00
parent 7df65e832e
commit 3eab4be135
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ static void _gtpv1_u_recv_cb(short when, ogs_socket_t fd, void *data)
*/
if (far->dst_if != OGS_PFCP_INTERFACE_ACCESS) {
if (IN6_IS_ADDR_LINKLOCAL(src_addr) &&
if (IN6_IS_ADDR_LINKLOCAL((struct in6_addr *)src_addr) &&
src_addr[2] == sess->ipv6->addr[2] &&
src_addr[3] == sess->ipv6->addr[3]) {
/*