summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-07-06 23:45:32 +0000
committerbrian <brian@FreeBSD.org>2001-07-06 23:45:32 +0000
commit92b94fe6a1aae0d7dc81153446d1af6928bb111f (patch)
tree8e0b9668c5215e6ba84a2989dc109684ce67fa15 /usr.sbin
parent05e503d80a002e0af803afd602084de640ab2c39 (diff)
downloadFreeBSD-src-92b94fe6a1aae0d7dc81153446d1af6928bb111f.zip
FreeBSD-src-92b94fe6a1aae0d7dc81153446d1af6928bb111f.tar.gz
Spell stateful properly
Inconsistently done by: brian Spotted by: ru
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/ccp.c2
-rw-r--r--usr.sbin/ppp/command.c4
-rw-r--r--usr.sbin/ppp/ppp.88
-rw-r--r--usr.sbin/ppp/ppp.8.m48
4 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/ppp/ccp.c b/usr.sbin/ppp/ccp.c
index b3a80f8..0516024 100644
--- a/usr.sbin/ppp/ccp.c
+++ b/usr.sbin/ppp/ccp.c
@@ -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");
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index d805fcb..48b2c93 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -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,
diff --git a/usr.sbin/ppp/ppp.8 b/usr.sbin/ppp/ppp.8
index 04e1fbd..7b684c8 100644
--- a/usr.sbin/ppp/ppp.8
+++ b/usr.sbin/ppp/ppp.8
@@ -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
diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4
index 04e1fbd..7b684c8 100644
--- a/usr.sbin/ppp/ppp.8.m4
+++ b/usr.sbin/ppp/ppp.8.m4
@@ -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
OpenPOWER on IntegriCloud