mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 10:28:45 +00:00
[IPHLPAPI] Fix for hasArp which crashes some iphlpapi tests. (#3216)
CORE-16513
This commit is contained in:
parent
e45bacda07
commit
90be2f4e1b
1 changed files with 2 additions and 1 deletions
|
@ -149,7 +149,8 @@ BOOL hasArp( HANDLE tcpFile, TDIEntityID *arp_maybe ) {
|
|||
NULL );
|
||||
if( !NT_SUCCESS(status) ) return FALSE;
|
||||
|
||||
return (type & AT_ARP);
|
||||
/* AT_ARP corresponds to an individual TDI entity type */
|
||||
return (type == AT_ARP);
|
||||
}
|
||||
|
||||
static NTSTATUS getInterfaceInfoSet( HANDLE tcpFile,
|
||||
|
|
Loading…
Reference in a new issue