aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-07-06 23:45:32 +0000
committerBrian Somers <brian@FreeBSD.org>2001-07-06 23:45:32 +0000
commit80a18377e97afe1b00539263709f84124cf4c917 (patch)
tree8e0b9668c5215e6ba84a2989dc109684ce67fa15
parent5521ff5a4d1929056e7ffc982fac3341ca54df7c (diff)
downloadsrc-80a18377e97afe1b00539263709f84124cf4c917.tar.gz
src-80a18377e97afe1b00539263709f84124cf4c917.zip
Notes
-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 b3a80f89c213..0516024b55f4 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 d805fcb8e708..48b2c93342ef 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 04e1fbd66d5a..7b684c89cd7b 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 04e1fbd66d5a..7b684c89cd7b 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