Commit ab31bf5d authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

nsiproxy: Add an #ifdef guard for SIN_ROUTER.

It's not defined in FreeBSD. Signed-off-by: 's avatarHuw Davies <huw@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent a8d2de60
...@@ -962,7 +962,11 @@ static NTSTATUS ipv4_neighbour_enumerate_all( void *key_data, DWORD key_size, vo ...@@ -962,7 +962,11 @@ static NTSTATUS ipv4_neighbour_enumerate_all( void *key_data, DWORD key_size, vo
memcpy( entry.phys_addr, &sdl->sdl_data[sdl->sdl_nlen], entry.phys_addr_len ); memcpy( entry.phys_addr, &sdl->sdl_data[sdl->sdl_nlen], entry.phys_addr_len );
if (rtm->rtm_rmx.rmx_expire == 0) entry.state = NlnsPermanent; if (rtm->rtm_rmx.rmx_expire == 0) entry.state = NlnsPermanent;
else entry.state = NlnsReachable; else entry.state = NlnsReachable;
#ifdef SIN_ROUTER
entry.is_router = sinarp->sin_other & SIN_ROUTER; entry.is_router = sinarp->sin_other & SIN_ROUTER;
#else
entry.is_router = 0;
#endif
entry.is_unreachable = 0; /* FIXME */ entry.is_unreachable = 0; /* FIXME */
if (num < *count) if (num < *count)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment