[PATCH v3 0/1] MR296: nsiproxy.sys: Add static ARP entries which are always present on Windows.

Huw Davies (@huw) wine at gitlab.winehq.org
Sat Jun 25 14:02:51 CDT 2022


Huw Davies (@huw) commented about dlls/nsiproxy.sys/ip.c:
>      return STATUS_NOT_IMPLEMENTED;
>  #endif
>  
> +    if (!want_data || num <= *count)
> +    {
> +        /* Certain ipv4 multicast addresses are always present on Windows for each interface.
> +         * Add those if they weren't added already. */
> +        memset( &entry, 0, sizeof(entry) );
> +        entry.state = NlnsPermanent;
> +        for (i = 0; i < iface_count; ++i)
> +        {
> +            entry.if_index = iface_static[i].if_index;
> +            entry.luid = luid_tbl[i];
> +            for (j = 0; j < ARRAY_SIZE(ipv4_multicast_addresses); ++j)
> +            {
> +                if (iface_static[i].unk & (1 << i)) continue;
```suggestion:-0+0
                if (iface_static[i].unk & (1 << j)) continue;
```

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



More information about the wine-devel mailing list