iphlpapi: Set the SpecificPortBind bit if the caller wants it on BSD.
Signed-off-by: Chip Davis <cdavis@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3a47598bb3
commit
048a3cab0b
|
@ -2575,6 +2575,7 @@ DWORD build_udp_table( UDP_TABLE_CLASS class, void **tablep, BOOL order, HANDLE
|
||||||
{
|
{
|
||||||
row.liCreateTimestamp.QuadPart = 0; /* FIXME */
|
row.liCreateTimestamp.QuadPart = 0; /* FIXME */
|
||||||
row.u.dwFlags = 0;
|
row.u.dwFlags = 0;
|
||||||
|
row.u.SpecificPortBind = !(pINData->inp_flags & INP_ANONPORT);
|
||||||
memset( &row.OwningModuleInfo, 0, sizeof(row.OwningModuleInfo) );
|
memset( &row.OwningModuleInfo, 0, sizeof(row.OwningModuleInfo) );
|
||||||
}
|
}
|
||||||
if (!(table = append_udp_row( class, heap, flags, table, &count, &row, row_size ))) break;
|
if (!(table = append_udp_row( class, heap, flags, table, &count, &row, row_size ))) break;
|
||||||
|
|
Loading…
Reference in New Issue