Browse files

Fixing the DOMAIN_CONTROLLER_INFO structure. It was missing a field d…

…eclaration. This should fix the getDC method and unit test
  • Loading branch information...
1 parent 8771dce commit e32ae1cae65ad52c81c5692efcb76799d594b005 @aikidojohn aikidojohn committed Oct 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 contrib/platform/src/com/sun/jna/platform/win32/DsGetDC.java
View
2 contrib/platform/src/com/sun/jna/platform/win32/DsGetDC.java
@@ -105,7 +105,7 @@ public DOMAIN_CONTROLLER_INFO(Pointer memory) {
public WString ClientSiteName;
protected List getFieldOrder() {
- return Arrays.asList(new String[] { "DomainControllerName", "DomainControllerAddress", "DomainGuid", "DomainName", "DnsForestName", "Flags", "DcSiteName", "ClientSiteName"});
+ return Arrays.asList(new String[] { "DomainControllerName", "DomainControllerAddress", "DomainControllerAddressType", "DomainGuid", "DomainName", "DnsForestName", "Flags", "DcSiteName", "ClientSiteName"});
}
}

0 comments on commit e32ae1c

Please sign in to comment.