mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-26 05:09:19 +03:00
Correct Spelling (#458)
* spelling: accepts * spelling: account * spelling: accept * spelling: accumulate * spelling: adapter * spelling: address * spelling: additional * spelling: aggressive * spelling: adhered * spelling: allowed * spelling: ambiguous * spelling: amount * spelling: anonymous * spelling: acquisition * spelling: assemble * spelling: associated * spelling: assigns * spelling: attach * spelling: attempt * spelling: attribute * spelling: authenticate * spelling: authentication * spelling: available * spelling: bridging * spelling: cascade * spelling: cancel * spelling: check * spelling: challenge * spelling: changing * spelling: characters * spelling: cloud * spelling: compare * spelling: communication * spelling: compatible * spelling: compatibility * spelling: completion * spelling: complete * spelling: computers * spelling: configure * spelling: configuration * spelling: conformant * spelling: connection * spelling: contains * spelling: continuously * spelling: continue * spelling: convert * spelling: counters * spelling: create * spelling: created * spelling: cumulate * spelling: currently * spelling: debugging * spelling: decryption * spelling: description * spelling: default * spelling: driver * spelling: delete * spelling: destination * spelling: disabled * spelling: different * spelling: dynamically * spelling: directory * spelling: disappeared * spelling: disable * spelling: doesn't * spelling: download * spelling: dropped * spelling: enable * spelling: established * spelling: ether * spelling: except * spelling: expired * spelling: field * spelling: following * spelling: forever * spelling: firewall * spelling: first * spelling: fragment * spelling: function * spelling: gateway * spelling: identifier * spelling: identify * spelling: incoming * spelling: information * spelling: initialize * spelling: injection * spelling: inner * spelling: instead * spelling: installation * spelling: inserted * spelling: integer * spelling: interrupt * spelling: intuitive * spelling: interval * spelling: january * spelling: keybytes * spelling: know * spelling: language * spelling: length * spelling: library * spelling: listener * spelling: maintain * spelling: modified * spelling: necessary * spelling: number * spelling: obsoleted * spelling: occurred * spelling: occurring * spelling: occur * spelling: original * spelling: omittable * spelling: omit * spelling: opening * spelling: operation * spelling: packet * spelling: parameters * spelling: pointed * spelling: popupmenuopen * spelling: privilege * spelling: product * spelling: protection * spelling: promiscuous * spelling: prompt * spelling: query * spelling: random * spelling: reconnection * spelling: revocation * spelling: received * spelling: red hat * spelling: registry * spelling: release * spelling: retrieve
This commit is contained in:
committed by
Moataz Elmasry
parent
03443ab1c4
commit
ac865f04fc
@ -444,7 +444,7 @@ UINT EtSetPassword(EL *e, RPC_SET_PASSWORD *t)
|
||||
// Add a device
|
||||
UINT EtAddDevice(EL *e, RPC_ADD_DEVICE *t)
|
||||
{
|
||||
if (ElAddCaptureDevice(e, t->DeviceName, &t->LogSetting, t->NoPromiscus) == false)
|
||||
if (ElAddCaptureDevice(e, t->DeviceName, &t->LogSetting, t->NoPromiscuous) == false)
|
||||
{
|
||||
return ERR_CAPTURE_DEVICE_ADD_ERROR;
|
||||
}
|
||||
@ -485,7 +485,7 @@ UINT EtGetDevice(EL *e, RPC_ADD_DEVICE *t)
|
||||
ret = ERR_NO_ERROR;
|
||||
|
||||
Copy(&t->LogSetting, &d->LogSetting, sizeof(HUB_LOG));
|
||||
t->NoPromiscus = d->NoPromiscus;
|
||||
t->NoPromiscuous = d->NoPromiscuous;
|
||||
}
|
||||
}
|
||||
UnlockList(e->DeviceList);
|
||||
@ -583,7 +583,7 @@ void InRpcAddDevice(RPC_ADD_DEVICE *t, PACK *p)
|
||||
|
||||
Zero(t, sizeof(RPC_ADD_DEVICE));
|
||||
PackGetStr(p, "DeviceName", t->DeviceName, sizeof(t->DeviceName));
|
||||
t->NoPromiscus = PackGetInt(p, "NoPromiscus");
|
||||
t->NoPromiscuous = PackGetInt(p, "NoPromiscuous");
|
||||
t->LogSetting.PacketLogSwitchType = PackGetInt(p, "PacketLogSwitchType");
|
||||
|
||||
for (i = 0;i < NUM_PACKET_LOG;i++)
|
||||
@ -602,7 +602,7 @@ void OutRpcAddDevice(PACK *p, RPC_ADD_DEVICE *t)
|
||||
}
|
||||
|
||||
PackAddStr(p, "DeviceName", t->DeviceName);
|
||||
PackAddInt(p, "NoPromiscus", t->NoPromiscus);
|
||||
PackAddInt(p, "NoPromiscuous", t->NoPromiscuous);
|
||||
PackAddInt(p, "PacketLogSwitchType", t->LogSetting.PacketLogSwitchType);
|
||||
|
||||
for (i = 0;i < NUM_PACKET_LOG;i++)
|
||||
@ -969,7 +969,7 @@ bool ElDeleteCaptureDevice(EL *e, char *name)
|
||||
}
|
||||
|
||||
// Add a capture device
|
||||
bool ElAddCaptureDevice(EL *e, char *name, HUB_LOG *log, bool no_promiscus)
|
||||
bool ElAddCaptureDevice(EL *e, char *name, HUB_LOG *log, bool no_promiscuous)
|
||||
{
|
||||
EL_DEVICE *d, t;
|
||||
// Validate arguments
|
||||
@ -995,7 +995,7 @@ bool ElAddCaptureDevice(EL *e, char *name, HUB_LOG *log, bool no_promiscus)
|
||||
d = ZeroMalloc(sizeof(EL_DEVICE));
|
||||
StrCpy(d->DeviceName, sizeof(d->DeviceName), name);
|
||||
Copy(&d->LogSetting, log, sizeof(HUB_LOG));
|
||||
d->NoPromiscus = no_promiscus;
|
||||
d->NoPromiscuous = no_promiscuous;
|
||||
d->el = e;
|
||||
Insert(e->DeviceList, d);
|
||||
|
||||
@ -1091,7 +1091,7 @@ void ElSaveConfigToFolder(EL *e, FOLDER *root)
|
||||
|
||||
f = CfgCreateFolder(devices, d->DeviceName);
|
||||
SiWriteHubLogCfgEx(f, &d->LogSetting, true);
|
||||
CfgAddBool(f, "NoPromiscusMode", d->NoPromiscus);
|
||||
CfgAddBool(f, "NoPromiscuousMode", d->NoPromiscuous);
|
||||
}
|
||||
}
|
||||
UnlockList(e->DeviceList);
|
||||
@ -1157,7 +1157,7 @@ void ElLoadConfigFromFolder(EL *e, FOLDER *root)
|
||||
|
||||
Zero(&g, sizeof(g));
|
||||
SiLoadHubLogCfg(&g, f);
|
||||
ElAddCaptureDevice(e, name, &g, CfgGetBool(f, "NoPromiscusMode"));
|
||||
ElAddCaptureDevice(e, name, &g, CfgGetBool(f, "NoPromiscuousMode"));
|
||||
}
|
||||
}
|
||||
FreeToken(t);
|
||||
|
Reference in New Issue
Block a user