summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2012-01-07 16:09:33 +0000
committeruqs <uqs@FreeBSD.org>2012-01-07 16:09:33 +0000
commit5f1ca9b98226dc2417a50af15b77d5a5cfd6837a (patch)
treefae895b09014d4ae2ae2cdaf825a995dde64c138 /sbin/dhclient
parent2c7e333641a412e800c1c521ddcb60d9f82e8e46 (diff)
downloadFreeBSD-src-5f1ca9b98226dc2417a50af15b77d5a5cfd6837a.zip
FreeBSD-src-5f1ca9b98226dc2417a50af15b77d5a5cfd6837a.tar.gz
Spelling fixes for sbin/
Diffstat (limited to 'sbin/dhclient')
-rw-r--r--sbin/dhclient/dhclient-script.82
-rw-r--r--sbin/dhclient/options.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/dhclient-script.8 b/sbin/dhclient/dhclient-script.8
index 89d43cb..fdb46a7 100644
--- a/sbin/dhclient/dhclient-script.8
+++ b/sbin/dhclient/dhclient-script.8
@@ -232,7 +232,7 @@ will check for the existence of
.Pa /etc/dhclient-exit-hooks .
If found, it will be sourced
.Pq see Xr sh 1 .
-These hooks scripts can be used to dynamically modify the enviornment at
+These hooks scripts can be used to dynamically modify the environment at
appropriate times during the DHCP negotiations.
For example, if the administrator wishes to disable alias IP numbers on
the DHCP interface, they might want to put the following in
diff --git a/sbin/dhclient/options.c b/sbin/dhclient/options.c
index 17643e7..be073da 100644
--- a/sbin/dhclient/options.c
+++ b/sbin/dhclient/options.c
@@ -284,8 +284,8 @@ find_search_domain_name_len(struct option_data *option, int *offset)
option->data[i + 1];
if (pointer >= *offset) {
/*
- * The pointer must indicates a prior
- * occurance.
+ * The pointer must indicate a prior
+ * occurrence.
*/
warning("Invalid forward pointer in DHCP "
"Domain Search option compression.");
OpenPOWER on IntegriCloud