2012-03-19 Ben Greear <greear@users.sf.net>

* include/routprot.h (IP_LOCAL_BINDING): Move above IP_ADAPTER_BINDING_INFO
        to correct warning about IP_LOCAL_BINDING being undefined.
This commit is contained in:
Chris Sutcliffe 2012-03-20 00:28:53 +00:00
parent a1b22837ae
commit b0a905c5a0
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2012-03-19 Ben Greear <greear@users.sf.net>
* include/routprot.h (IP_LOCAL_BINDING): Move above IP_ADAPTER_BINDING_INFO
to correct warning about IP_LOCAL_BINDING being undefined.
2012-01-16 Keith Marshall <keithmarshall@users.sf.net>
Correct misused 'rm -r' command in uninstall rules.

View File

@ -43,6 +43,10 @@ extern "C" {
#define IPX_PROTOCOL_NLSP 0x00020002
/*--- Router Management Reference - Router Management Structures */
#if (_WIN32_WINNT >= 0x0500)
typedef struct IP_LOCAL_BINDING {
DWORD Address;
DWORD Mask;
} IP_LOCAL_BINDING,*PIP_LOCAL_BINDING;
typedef struct IP_ADAPTER_BINDING_INFO {
ULONG AddressCount;
DWORD RemoteAddress;
@ -50,10 +54,6 @@ typedef struct IP_ADAPTER_BINDING_INFO {
ULONGLONG Speed;
IP_LOCAL_BINDING Address[];
} IP_ADAPTER_BINDING_INFO,*PIP_ADAPTER_BINDING_INFO;
typedef struct IP_LOCAL_BINDING {
DWORD Address;
DWORD Mask;
} IP_LOCAL_BINDING,*PIP_LOCAL_BINDING;
typedef struct IPX_ADAPTER_BINDING_INFO {
ULONG AdapterIndex;
UCHAR Network[4];