Spell stateful properly
Inconsistently done by: brian Spotted by: ru
This commit is contained in:
parent
05e503d80a
commit
92b94fe6a1
@ -197,7 +197,7 @@ ccp_ReportStatus(struct cmdargs const *arg)
|
||||
prompt_Printf(arg->prompt, "any bits, ");
|
||||
switch (ccp->cfg.mppe.state) {
|
||||
case MPPE_STATEFUL:
|
||||
prompt_Printf(arg->prompt, "statefull");
|
||||
prompt_Printf(arg->prompt, "stateful");
|
||||
break;
|
||||
case MPPE_STATELESS:
|
||||
prompt_Printf(arg->prompt, "stateless");
|
||||
|
@ -1643,7 +1643,7 @@ SetVariable(struct cmdargs const *arg)
|
||||
l->ccp.cfg.mppe.state = MPPE_ANYSTATE;
|
||||
else if (!strcasecmp(arg->argv[arg->argn + 1], "stateless"))
|
||||
l->ccp.cfg.mppe.state = MPPE_STATELESS;
|
||||
else if (!strcasecmp(arg->argv[arg->argn + 1], "statefull"))
|
||||
else if (!strcasecmp(arg->argv[arg->argn + 1], "stateful"))
|
||||
l->ccp.cfg.mppe.state = MPPE_STATEFUL;
|
||||
else {
|
||||
log_Printf(LogWARN, "%s: Invalid state value\n",
|
||||
@ -2151,7 +2151,7 @@ static struct cmdtab const SetCommands[] = {
|
||||
(const void *) VAR_WINSIZE},
|
||||
#ifdef HAVE_DES
|
||||
{"mppe", NULL, SetVariable, LOCAL_AUTH | LOCAL_CX_OPT,
|
||||
"MPPE key size and state", "set mppe [40|56|128|* [statefull|stateless|*]]",
|
||||
"MPPE key size and state", "set mppe [40|56|128|* [stateful|stateless|*]]",
|
||||
(const void *) VAR_MPPE},
|
||||
#endif
|
||||
{"device", "line", SetVariable, LOCAL_AUTH | LOCAL_CX,
|
||||
|
@ -4915,7 +4915,7 @@ This will allow
|
||||
to do the necessary address translations to enable the process that
|
||||
triggers the connection to connect once the link is up despite the
|
||||
peer assigning us a new (dynamic) IP address.
|
||||
.It set mppe Op 40|56|128|* Op stateless|statefull|*
|
||||
.It set mppe Op 40|56|128|* Op stateless|stateful|*
|
||||
This option selects the encryption parameters used when negotiation
|
||||
MPPE.
|
||||
MPPE can be disabled entirely with the
|
||||
@ -4923,7 +4923,7 @@ MPPE can be disabled entirely with the
|
||||
command.
|
||||
If no arguments are given,
|
||||
.Nm
|
||||
will attempt to negotiate a statefull link with a 128 bit key, but
|
||||
will attempt to negotiate a stateful link with a 128 bit key, but
|
||||
will agree to whatever the peer requests (including no encryption
|
||||
at all).
|
||||
.Pp
|
||||
@ -4937,11 +4937,11 @@ The first argument specifies the number of bits that
|
||||
.Nm
|
||||
should insist on during negotiations and the second specifies whether
|
||||
.Nm
|
||||
should insist on statefull or stateless mode.
|
||||
should insist on stateful or stateless mode.
|
||||
In stateless mode, the
|
||||
encryption dictionary is re-initialised with every packet according to
|
||||
an encryption key that is changed with every packet.
|
||||
In statefull mode,
|
||||
In stateful mode,
|
||||
the encryption dictionary is re-initialised every 256 packets or after
|
||||
the loss of any data and the key is changed every 256 packets.
|
||||
Stateless mode is less efficient but is better for unreliable transport
|
||||
|
@ -4915,7 +4915,7 @@ This will allow
|
||||
to do the necessary address translations to enable the process that
|
||||
triggers the connection to connect once the link is up despite the
|
||||
peer assigning us a new (dynamic) IP address.
|
||||
.It set mppe Op 40|56|128|* Op stateless|statefull|*
|
||||
.It set mppe Op 40|56|128|* Op stateless|stateful|*
|
||||
This option selects the encryption parameters used when negotiation
|
||||
MPPE.
|
||||
MPPE can be disabled entirely with the
|
||||
@ -4923,7 +4923,7 @@ MPPE can be disabled entirely with the
|
||||
command.
|
||||
If no arguments are given,
|
||||
.Nm
|
||||
will attempt to negotiate a statefull link with a 128 bit key, but
|
||||
will attempt to negotiate a stateful link with a 128 bit key, but
|
||||
will agree to whatever the peer requests (including no encryption
|
||||
at all).
|
||||
.Pp
|
||||
@ -4937,11 +4937,11 @@ The first argument specifies the number of bits that
|
||||
.Nm
|
||||
should insist on during negotiations and the second specifies whether
|
||||
.Nm
|
||||
should insist on statefull or stateless mode.
|
||||
should insist on stateful or stateless mode.
|
||||
In stateless mode, the
|
||||
encryption dictionary is re-initialised with every packet according to
|
||||
an encryption key that is changed with every packet.
|
||||
In statefull mode,
|
||||
In stateful mode,
|
||||
the encryption dictionary is re-initialised every 256 packets or after
|
||||
the loss of any data and the key is changed every 256 packets.
|
||||
Stateless mode is less efficient but is better for unreliable transport
|
||||
|
Loading…
Reference in New Issue
Block a user