[WSD] Fix IP address query IOCTL to support more than one IP address.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 14 Dec 2005 19:47:20 +0000 (19:47 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 14 Dec 2005 19:47:20 +0000 (19:47 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@203 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/wsd/user/ibsp_ip.c

index d0a6d70..532fd34 100644 (file)
@@ -114,8 +114,7 @@ query_ip_address(
                }\r
 \r
                if( !DeviceIoControl( g_ibsp.h_ibat_dev, IOCTL_IBAT_IP_ADDRESSES,\r
-                       &in, sizeof(in), p_out, sizeof(IOCTL_IBAT_IP_ADDRESSES_OUT),\r
-                       &size, NULL ) )\r
+                       &in, sizeof(in), p_out, size, &size, NULL ) )\r
                {\r
                        HeapFree( g_ibsp.heap, 0, p_out );\r
                        IBSP_ERROR_EXIT(\r