Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ab31bf5d
Commit
ab31bf5d
authored
Aug 13, 2021
by
Huw Davies
Committed by
Alexandre Julliard
Aug 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nsiproxy: Add an #ifdef guard for SIN_ROUTER.
It's not defined in FreeBSD. Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a8d2de60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ip.c
dlls/nsiproxy.sys/ip.c
+4
-0
No files found.
dlls/nsiproxy.sys/ip.c
View file @
ab31bf5d
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment