mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:31:39 +00:00
nsiproxy.sys: Return success and zero count from ipv6_forward_enumerate_all() if IPV6 is unsupported.
This commit is contained in:
parent
921e79c2b5
commit
d6c41f95c0
|
@ -1578,7 +1578,11 @@ static NTSTATUS ipv6_forward_enumerate_all( void *key_data, UINT key_size, void
|
||||||
UINT rtf_flags;
|
UINT rtf_flags;
|
||||||
FILE *fp;
|
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 )))
|
while ((ptr = fgets( buf, sizeof(buf), fp )))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue