mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 15:50:29 +08:00
[IPHLPAPI] Fix for hasArp which crashes some iphlpapi tests. (#3216)
CORE-16513
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user