1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

nsiproxy.sys: Return success and zero count from ipv6_forward_enumerate_all() if IPV6 is unsupported.

This commit is contained in:
Paul Gofman 2024-05-15 12:00:04 -06:00 committed by Alexandre Julliard
parent 921e79c2b5
commit d6c41f95c0

View File

@ -1578,7 +1578,11 @@ static NTSTATUS ipv6_forward_enumerate_all( void *key_data, UINT key_size, void
UINT rtf_flags;
FILE *fp;
if (!(fp = fopen( "/proc/net/ipv6_route", "r" ))) return STATUS_NOT_SUPPORTED;
if (!(fp = fopen( "/proc/net/ipv6_route", "r" )))
{
*count = 0;
return STATUS_SUCCESS;
}
while ((ptr = fgets( buf, sizeof(buf), fp )))
{