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
2b6ab9eb
Commit
2b6ab9eb
authored
Oct 11, 2010
by
Jeff Latimer
Committed by
Alexandre Julliard
Oct 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi: Use Windows rather than Unix values to determine family.
parent
0b4c99cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+3
-3
No files found.
dlls/iphlpapi/iphlpapi_main.c
View file @
2b6ab9eb
...
...
@@ -723,7 +723,7 @@ static ULONG adapterAddressesFromIndex(ULONG family, DWORD index, IP_ADAPTER_ADD
SOCKET_ADDRESS
*
v6addrs
=
NULL
;
PMIB_IPFORWARDTABLE
routeTable
=
NULL
;
if
(
family
==
AF_INET
)
if
(
family
==
WS_
AF_INET
)
{
ret
=
AllocateAndGetIpForwardTableFromStack
(
&
routeTable
,
FALSE
,
GetProcessHeap
(),
0
);
...
...
@@ -733,9 +733,9 @@ static ULONG adapterAddressesFromIndex(ULONG family, DWORD index, IP_ADAPTER_ADD
num_v4_gateways
=
count_v4_gateways
(
index
,
routeTable
);
}
}
else
if
(
family
==
AF_INET6
)
else
if
(
family
==
WS_
AF_INET6
)
ret
=
v6addressesFromIndex
(
index
,
&
v6addrs
,
&
num_v6addrs
);
else
if
(
family
==
AF_UNSPEC
)
else
if
(
family
==
WS_
AF_UNSPEC
)
{
ret
=
AllocateAndGetIpForwardTableFromStack
(
&
routeTable
,
FALSE
,
GetProcessHeap
(),
0
);
...
...
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