diff --git a/src/Cedar/CedarType.h b/src/Cedar/CedarType.h index 7ae8fd9f..65163cf0 100644 --- a/src/Cedar/CedarType.h +++ b/src/Cedar/CedarType.h @@ -680,7 +680,7 @@ typedef struct IPC IPC; typedef struct IPC_ARP IPC_ARP; typedef struct IPC_ASYNC IPC_ASYNC; typedef struct IPC_PARAM IPC_PARAM; -typedef struct IPC_DHCP_RELESAE_QUEUE IPC_DHCP_RELESAE_QUEUE; +typedef struct IPC_DHCP_RELEASE_QUEUE IPC_DHCP_RELEASE_QUEUE; typedef struct IPC_MSCHAP_V2_AUTHINFO IPC_MSCHAP_V2_AUTHINFO; diff --git a/src/Cedar/IPsec_IPC.c b/src/Cedar/IPsec_IPC.c index efd7c034..a49a7c9a 100644 --- a/src/Cedar/IPsec_IPC.c +++ b/src/Cedar/IPsec_IPC.c @@ -872,7 +872,7 @@ LABEL_RETRY_FOR_OPENVPN: char tmp[64]; DHCP_OPTION_LIST req; - IPC_DHCP_RELESAE_QUEUE *q; + IPC_DHCP_RELEASE_QUEUE *q; // If the offered IP address is not used, place the address // in release memo list to release at the end of this function @@ -880,7 +880,7 @@ LABEL_RETRY_FOR_OPENVPN: req.Opcode = DHCP_RELEASE; req.ServerAddress = d->ParsedOptionList->ServerAddress; - q = ZeroMalloc(sizeof(IPC_DHCP_RELESAE_QUEUE)); + q = ZeroMalloc(sizeof(IPC_DHCP_RELEASE_QUEUE)); Copy(&q->Req, &req, sizeof(DHCP_OPTION_LIST)); q->TranId = tran_id; Copy(q->MacAddress, ipc->MacAddress, 6); @@ -994,7 +994,7 @@ LABEL_CLEANUP: for (i = 0;i < LIST_NUM(release_list);i++) { - IPC_DHCP_RELESAE_QUEUE *q = LIST_DATA(release_list, i); + IPC_DHCP_RELEASE_QUEUE *q = LIST_DATA(release_list, i); Copy(ipc->MacAddress, q->MacAddress, 6); FreeDHCPv4Data(IPCSendDhcpRequest(ipc, NULL, q->TranId, &q->Req, 0, 0, NULL)); diff --git a/src/Cedar/IPsec_IPC.h b/src/Cedar/IPsec_IPC.h index 02851e27..a4854e65 100644 --- a/src/Cedar/IPsec_IPC.h +++ b/src/Cedar/IPsec_IPC.h @@ -140,7 +140,7 @@ struct IPC_ARP }; // DHCP release queue -struct IPC_DHCP_RELESAE_QUEUE +struct IPC_DHCP_RELEASE_QUEUE { DHCP_OPTION_LIST Req; UINT TranId; diff --git a/src/Neo/Neo.c b/src/Neo/Neo.c index c226ec32..ffd49461 100644 --- a/src/Neo/Neo.c +++ b/src/Neo/Neo.c @@ -434,7 +434,7 @@ void NeoShutdown() return; } - // Relaese the status information + // Release the status information NeoFreeStatus(&ctx->Status); NeoZero(ctx, sizeof(NEO_CTX)); diff --git a/src/Neo6/Neo6.c b/src/Neo6/Neo6.c index 43b0b49f..1f2f9840 100644 --- a/src/Neo6/Neo6.c +++ b/src/Neo6/Neo6.c @@ -504,7 +504,7 @@ void NeoShutdown() return; } - // Relaese the status information + // Release the status information NeoFreeStatus(&ctx->Status); NeoZero(ctx, sizeof(NEO_CTX));