[PATCH v4 2/2] Apply 1 suggestion(s) to 1 file(s)

Huw Davies wine at gitlab.winehq.org
Sat Jun 25 16:03:35 CDT 2022


From: Huw Davies <huw at codeweavers.com>

---
 dlls/nsiproxy.sys/ip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/nsiproxy.sys/ip.c b/dlls/nsiproxy.sys/ip.c
index c61e821cc56..dbe3a0b46b7 100644
--- a/dlls/nsiproxy.sys/ip.c
+++ b/dlls/nsiproxy.sys/ip.c
@@ -1214,7 +1214,7 @@ static NTSTATUS ipv4_neighbour_enumerate_all( void *key_data, UINT key_size, voi
             entry.luid = luid_tbl[i];
             for (j = 0; j < ARRAY_SIZE(ipv4_multicast_addresses); ++j)
             {
-                if (iface_static[i].unk & (1 << i)) continue;
+                if (iface_static[i].unk & (1 << j)) continue;
                 if (num <= *count)
                 {
                     entry.addr.s_addr = ipv4_multicast_addresses[j];
-- 
GitLab

https://gitlab.winehq.org/wine/wine/-/merge_requests/296



More information about the wine-devel mailing list