Fix windows build
This commit is contained in:
parent
2c11c7e3c4
commit
951f1214f0
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ struct ethsock
|
|||
|
||||
struct ethsock_ip_undo
|
||||
{
|
||||
#ifndef NRMPFLASH_WINDOWS
|
||||
#ifndef NMRPFLASH_WINDOWS
|
||||
uint32_t ip[2];
|
||||
#else
|
||||
ULONG context;
|
||||
|
@ -751,7 +751,7 @@ out:
|
|||
#else // NMRPFLASH_WINDOWS
|
||||
ULONG instance;
|
||||
|
||||
DWORD ret = AddIPAddress(ipaddr, ipmask, sock->index, &undo->context, &instance);
|
||||
DWORD ret = AddIPAddress(ipaddr, ipmask, sock->index, &(*undo)->context, &instance);
|
||||
if (ret != NO_ERROR) {
|
||||
win_perror2("AddIPAddress", ret);
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue