projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45bacd
)
[IPHLPAPI] Fix for hasArp which crashes some iphlpapi tests. (#3216)
author
Doug Lyons
<douglyons@douglyons.com>
Tue, 22 Sep 2020 13:50:41 +0000
(08:50 -0500)
committer
GitHub
<noreply@github.com>
Tue, 22 Sep 2020 13:50:41 +0000
(15:50 +0200)
CORE-16513
dll/win32/iphlpapi/ifenum_reactos.c
patch
|
blob
|
history
diff --git
a/dll/win32/iphlpapi/ifenum_reactos.c
b/dll/win32/iphlpapi/ifenum_reactos.c
index
77fe4cf
..
cff14cd
100644
(file)
--- a/
dll/win32/iphlpapi/ifenum_reactos.c
+++ b/
dll/win32/iphlpapi/ifenum_reactos.c
@@
-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,