--- trunk/reactos/lib/iphlpapi/ifenum.h 2005-11-24 22:08:38 UTC (rev 19536)
+++ trunk/reactos/lib/iphlpapi/ifenum.h 2005-11-24 23:07:36 UTC (rev 19537)
@@ -139,6 +139,11 @@
*/
char *toIPAddressString(unsigned int addr, char string[16]);
+/* add and delete IP addresses */
+NTSTATUS addIPAddress( IPAddr Address, IPMask Mask, DWORD IfIndex,
+ PULONG NteContext, PULONG NteInstance );
+NTSTATUS deleteIpAddress( ULONG NteContext );
+
/* Inserts a route into the route table. */
DWORD createIpForwardEntryOS(PMIB_IPFORWARDROW pRoute);
--- trunk/reactos/lib/iphlpapi/iphlpapi_main.c 2005-11-24 22:08:38 UTC (rev 19536)
+++ trunk/reactos/lib/iphlpapi/iphlpapi_main.c 2005-11-24 23:07:36 UTC (rev 19537)
@@ -613,6 +613,7 @@
winsEnabled = TRUE;
RegCloseKey(hKey);
}
+
for (ndx = 0; ndx < table->numIndexes; ndx++) {
PIP_ADAPTER_INFO ptr = &pAdapterInfo[ndx];
DWORD addrLen = sizeof(ptr->Address), type;