mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 01:48:11 +00:00
- Fix adapter failure if a network address of invalid length is specified
svn path=/trunk/; revision=41586
This commit is contained in:
parent
8267318b15
commit
39572f4e0d
|
@ -373,7 +373,7 @@ static NDIS_STATUS NTAPI MiniportInitialize(
|
||||||
NdisCloseConfiguration(ConfigurationHandle);
|
NdisCloseConfiguration(ConfigurationHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Status != NDIS_STATUS_SUCCESS)
|
if (Status != NDIS_STATUS_SUCCESS || RegNetworkAddressLength != DRIVER_LENGTH_OF_ADDRESS)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < DRIVER_LENGTH_OF_ADDRESS; i++)
|
for (i = 0; i < DRIVER_LENGTH_OF_ADDRESS; i++)
|
||||||
|
|
Loading…
Reference in a new issue