return (ssize_t)len;
toobig:
- logger(ifp->ctx, LOG_ERR, "%s: DHCP messge too big", ifp->name);
+ logger(ifp->ctx, LOG_ERR, "%s: DHCP message too big", ifp->name);
free(bootp);
return -1;
}
type = 0;
else if (ifo->options & DHCPCD_BOOTP) {
logger(ifp->ctx, LOG_DEBUG,
- "%s: ignoring DHCP reply (excpecting BOOTP)",
+ "%s: ignoring DHCP reply (expecting BOOTP)",
ifp->name);
return;
}
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd June 29, 2015
+.Dd June 27, 2016
.Dt DHCPCD-RUN-HOOKS 8
.Os
.Sh NAME
.It Dv RECONFIGURE
dhcpcd has been instructed to reconfigure an interface.
.It Dv ROUTERADVERT
-dhcpcd has received an IPv6 Router Advertisment, or one has expired.
+dhcpcd has received an IPv6 Router Advertisement, or one has expired.
.It Dv STOP | Dv STOP6
dhcpcd stopped running on the interface.
.It Dv STOPPED
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd April 30, 2016
+.Dd June 27, 2016
.Dt DHCPCD 8
.Os
.Sh NAME
will start using it.
.Pp
.Nm
-is also an implemenation of the DHCPv6 client as specified in
+is also an implementation of the DHCPv6 client as specified in
.Li RFC 3315 .
By default,
.Nm
and
.Fl x
options where the same interface will need to be specified as a lack of an
-interace will imply Master mode which this is not.
+interafce will imply Master mode which this is not.
To force starting in Master mode with only one interface, the
.Fl M , Fl Fl master
option can be used.
If restricting
.Nm
to a single interface and optionally address family via the command-line
-then all futher calls to
+then all further calls to
.Nm
to rebind, reconfigure or exit need to include the same restrictive flags
so that
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd June 14, 2016
+.Dd June 27, 2016
.Dt DHCPCD.CONF 5
.Os
.Sh NAME
.Nm dhcpcd
always fork on an RA.
.It Ic ipv6ra_own
-Disables kernel IPv6 Router Advertisment processing so dhcpcd can manage
+Disables kernel IPv6 Router Advertisement processing so dhcpcd can manage
addresses and routes.
.It Ic ipv6ra_own_default
Each time dhcpcd receives an IPv6 Router Adveristment, dhcpcd will manage
This allows dhcpcd to prefer an interface for outbound traffic based on metric
and/or user selection rather than the kernel.
.It Ic ipv6rs
-Enables IPv6 Router Advertisment solicitation.
+Enables IPv6 Router Advertisement solicitation.
This is on by default, but is documented here in the case where it is disabled
globally but needs to be enabled for one interface.
.It Ic leasetime Ar seconds
to skip the REBOOT phase and go straight into DISCOVER.
This is desirable for mobile users because if you change from network A to
network B and they use the same subnet and the address from network A isn't
-in use on network B, then the DHCP server will remain silent even if authorative
-which means
+in use on network B, then the DHCP server will remain silent even if
+authoritative which means
.Nm dhcpcd
will timeout before moving back to the DISCOVER phase.
.It Ic release
.Nm dhcpcd
will continue auto-configuation as normal.
.Pp
-Here is an example which configures two static addresss, an IPv4 router, DNS
+Here is an example which configures two static address, an IPv4 router, DNS
and disables IPv6 auto-configuration.
You could also use the
.Ic inform6
/* No file? OK, lets make one based on our interface */
if (ifp->family == ARPHRD_NETROM) {
logger(ifp->ctx, LOG_WARNING,
- "%s: is a NET/ROM psuedo interface", ifp->name);
+ "%s: is a NET/ROM pseudo interface", ifp->name);
TAILQ_FOREACH(ifp2, ifp->ctx->ifaces, next) {
if (ifp2->family != ARPHRD_NETROM)
break;