[PATCH 0/1] MR296: nsiproxy.sys: Add static ARP entries which are always present on Windows.
Huw Davies (@huw)
wine at gitlab.winehq.org
Thu Jun 23 01:36:08 CDT 2022
Huw Davies (@huw) commented about dlls/nsiproxy.sys/ip.c:
> return STATUS_NOT_IMPLEMENTED;
> #endif
>
> + if (!want_data || num <= *count)
> + {
> + iface_indices = if_nameindex();
> + for (iface = iface_indices; iface->if_index; iface++)
> + {
> + if (num <= *count)
> + {
> + memset( &entry, 0, sizeof(entry) );
> + entry.if_index = iface->if_index;
> + convert_index_to_luid( entry.if_index, &entry.luid );
> + entry.state = NlnsPermanent;
> + entry.addr.s_addr = inet_addr( "224.0.0.22" );
Let's not use `inet_addr()`.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/296#note_2527
More information about the wine-devel
mailing list