Chip Davis : iphlpapi: Set the SpecificPortBind bit if the caller wants it on BSD.

Alexandre Julliard julliard at winehq.org
Fri Dec 13 15:27:22 CST 2019


Module: wine
Branch: master
Commit: 048a3cab0be59a9e2b3003d12065987101e85543
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=048a3cab0be59a9e2b3003d12065987101e85543

Author: Chip Davis <cdavis at codeweavers.com>
Date:   Thu Dec 12 17:06:47 2019 -0600

iphlpapi: Set the SpecificPortBind bit if the caller wants it on BSD.

Signed-off-by: Chip Davis <cdavis at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/iphlpapi/ipstats.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c
index 5a5275305d..b885957d1f 100644
--- a/dlls/iphlpapi/ipstats.c
+++ b/dlls/iphlpapi/ipstats.c
@@ -2575,6 +2575,7 @@ DWORD build_udp_table( UDP_TABLE_CLASS class, void **tablep, BOOL order, HANDLE
             {
                 row.liCreateTimestamp.QuadPart = 0; /* FIXME */
                 row.u.dwFlags = 0;
+                row.u.SpecificPortBind = !(pINData->inp_flags & INP_ANONPORT);
                 memset( &row.OwningModuleInfo, 0, sizeof(row.OwningModuleInfo) );
             }
             if (!(table = append_udp_row( class, heap, flags, table, &count, &row, row_size ))) break;




More information about the wine-cvs mailing list