summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-12-30 10:58:14 +0000
committeruqs <uqs@FreeBSD.org>2011-12-30 10:58:14 +0000
commit415a3a9b966c1522657d435a1785904f41accc78 (patch)
tree8895a44928d5c242eb33f5909e96b16aa8b19f50 /usr.sbin/ppp
parentc12910138c122eb89614cb32832cc1e81e4c23a7 (diff)
downloadFreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.zip
FreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.tar.gz
Spelling fixes for usr.sbin/
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/cbcp.c2
-rw-r--r--usr.sbin/ppp/chat.h4
-rw-r--r--usr.sbin/ppp/command.c10
-rw-r--r--usr.sbin/ppp/mp.c4
-rw-r--r--usr.sbin/ppp/ppp.8.m42
-rw-r--r--usr.sbin/ppp/vjcomp.c2
6 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/ppp/cbcp.c b/usr.sbin/ppp/cbcp.c
index be68e48..23366c8 100644
--- a/usr.sbin/ppp/cbcp.c
+++ b/usr.sbin/ppp/cbcp.c
@@ -353,7 +353,7 @@ static int
cbcp_AdjustResponse(struct cbcp *cbcp, struct cbcp_data *data)
{
/*
- * We've received a REQ (data). Adjust our reponse (cbcp->fsm.*)
+ * We've received a REQ (data). Adjust our response (cbcp->fsm.*)
* so that we (hopefully) agree with the peer
*/
struct cbcp_addr *addr;
diff --git a/usr.sbin/ppp/chat.h b/usr.sbin/ppp/chat.h
index b8162bf..91fc7b4 100644
--- a/usr.sbin/ppp/chat.h
+++ b/usr.sbin/ppp/chat.h
@@ -52,8 +52,8 @@ struct chat {
char *nargptr; /* Our next for expect-send-expect */
char buf[LINE_LEN*2]; /* Our input */
- char *bufstart; /* start of relevent data */
- char *bufend; /* end of relevent data */
+ char *bufstart; /* start of relevant data */
+ char *bufend; /* end of relevant data */
int TimeoutSec; /* Expect timeout value */
int TimedOut; /* We timed out */
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index 0468b32..91fe028 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -416,7 +416,7 @@ DialCommand(struct cmdargs const *arg)
static char *
strstrword(char *big, const char *little)
{
- /* Get the first occurance of the word ``little'' in ``big'' */
+ /* Get the first occurrance of the word ``little'' in ``big'' */
char *pos;
int len;
@@ -1852,13 +1852,13 @@ SetVariable(struct cmdargs const *arg)
case PHASE_ESTABLISH:
/* Make sure none of our links are DATALINK_LCP or greater */
if (bundle_HighestState(arg->bundle) >= DATALINK_LCP) {
- log_Printf(LogWARN, "mrru: Only changable before LCP negotiations\n");
+ log_Printf(LogWARN, "mrru: Only changeable before LCP negotiations\n");
res = 1;
break;
}
break;
default:
- log_Printf(LogWARN, "mrru: Only changable at phase DEAD/ESTABLISH\n");
+ log_Printf(LogWARN, "mrru: Only changeable at phase DEAD/ESTABLISH\n");
res = 1;
break;
}
@@ -2944,13 +2944,13 @@ NegotiateSet(struct cmdargs const *arg)
case PHASE_ESTABLISH:
/* Make sure none of our links are DATALINK_LCP or greater */
if (bundle_HighestState(arg->bundle) >= DATALINK_LCP) {
- log_Printf(LogWARN, "shortseq: Only changable before"
+ log_Printf(LogWARN, "shortseq: Only changeable before"
" LCP negotiations\n");
return 1;
}
break;
default:
- log_Printf(LogWARN, "shortseq: Only changable at phase"
+ log_Printf(LogWARN, "shortseq: Only changeable at phase"
" DEAD/ESTABLISH\n");
return 1;
}
diff --git a/usr.sbin/ppp/mp.c b/usr.sbin/ppp/mp.c
index 095f9bb..b2cb46c 100644
--- a/usr.sbin/ppp/mp.c
+++ b/usr.sbin/ppp/mp.c
@@ -965,13 +965,13 @@ mp_SetEnddisc(struct cmdargs const *arg)
case PHASE_ESTABLISH:
/* Make sure none of our links are DATALINK_LCP or greater */
if (bundle_HighestState(arg->bundle) >= DATALINK_LCP) {
- log_Printf(LogWARN, "enddisc: Only changable before"
+ log_Printf(LogWARN, "enddisc: Only changeable before"
" LCP negotiations\n");
return 1;
}
break;
default:
- log_Printf(LogWARN, "enddisc: Only changable at phase DEAD/ESTABLISH\n");
+ log_Printf(LogWARN, "enddisc: Only changeable at phase DEAD/ESTABLISH\n");
return 1;
}
diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4
index fcf62d6..935814e 100644
--- a/usr.sbin/ppp/ppp.8.m4
+++ b/usr.sbin/ppp/ppp.8.m4
@@ -1594,7 +1594,7 @@ is the IP number that your route to
.Dq ui-gate
would normally use.
.Pp
-When routing your connection accross a public network such as the Internet,
+When routing your connection across a public network such as the Internet,
it is preferable to encrypt the data.
This can be done with the help of the MPPE protocol, although currently this
means that you will not be able to also compress the traffic as MPPE is
diff --git a/usr.sbin/ppp/vjcomp.c b/usr.sbin/ppp/vjcomp.c
index f3c6b71..97166af 100644
--- a/usr.sbin/ppp/vjcomp.c
+++ b/usr.sbin/ppp/vjcomp.c
@@ -137,7 +137,7 @@ VjUncompressTcp(struct ipcp *ipcp, struct mbuf *bp, u_char type)
}
/*
- * Handle compressed packet. 1) Read upto MAX_VJHEADER bytes into work
+ * Handle compressed packet. 1) Read up to MAX_VJHEADER bytes into work
* space. 2) Try to uncompress it. 3) Compute amount of necessary space. 4)
* Copy unread data info there.
*/
OpenPOWER on IntegriCloud