mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-06-28 11:55:08 +03:00
spelling: check
This commit is contained in:
parent
a38dcaf901
commit
3de30063a8
@ -13402,7 +13402,7 @@ UINT AdminAccept(CONNECTION *c, PACK *p)
|
|||||||
StrCpy(hubname, sizeof(hubname), "");
|
StrCpy(hubname, sizeof(hubname), "");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cehck source IP address
|
// Check source IP address
|
||||||
if (CheckAdminSourceAddress(sock, hubname) == false)
|
if (CheckAdminSourceAddress(sock, hubname) == false)
|
||||||
{
|
{
|
||||||
SLog(c->Cedar, "LA_IP_DENIED", c->Name);
|
SLog(c->Cedar, "LA_IP_DENIED", c->Name);
|
||||||
|
@ -217,7 +217,7 @@ NPF_BufferedWrite(
|
|||||||
// Start from the first packet
|
// Start from the first packet
|
||||||
winpcap_hdr = (struct sf_pkthdr*)UserBuff;
|
winpcap_hdr = (struct sf_pkthdr*)UserBuff;
|
||||||
|
|
||||||
// Chech the consistency of the user buffer
|
// Check the consistency of the user buffer
|
||||||
if( (PCHAR)winpcap_hdr + winpcap_hdr->caplen + sizeof(struct sf_pkthdr) > EndOfUserBuff )
|
if( (PCHAR)winpcap_hdr + winpcap_hdr->caplen + sizeof(struct sf_pkthdr) > EndOfUserBuff )
|
||||||
{
|
{
|
||||||
IF_LOUD(DbgPrint("Buffered Write: bogus packet buffer\n");)
|
IF_LOUD(DbgPrint("Buffered Write: bogus packet buffer\n");)
|
||||||
|
Loading…
Reference in New Issue
Block a user