Description: Fix Spelling error
Author: Jose dos Santos Junior <j.s.junior@live.com>
Last-Update: 2016-04-04Index: dhcpcd5-6.10.1/arp.c
===================================================================
Index: dhcpcd5-6.10.1/arp.c
===================================================================
--- dhcpcd5-6.10.1.orig/arp.c
+++ dhcpcd5-6.10.1/arp.c
@@ -160,7 +160,7 @@ arp_packet(void *arg)
 		if (ar.ar_pln != sizeof(arm.sip.s_addr))
 			continue;
 
-		/* Get pointers to the hardware addreses */
+		/* Get pointers to the hardware addresses */
 		hw_s = arp_buffer + sizeof(ar);
 		hw_t = hw_s + ar.ar_hln + ar.ar_pln;
 		/* Ensure we got all the data */
Index: dhcpcd5-6.10.1/dhcp.c
===================================================================
--- dhcpcd5-6.10.1.orig/dhcp.c
+++ dhcpcd5-6.10.1/dhcp.c
@@ -1066,7 +1066,7 @@ make_message(struct dhcp_message **messa
 	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(dhcp);
 	return -1;
 }
@@ -2570,7 +2570,7 @@ dhcp_handledhcp(struct interface *ifp, s
 		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;
 	}
Index: dhcpcd5-6.10.1/dhcpcd.c
===================================================================
--- dhcpcd5-6.10.1.orig/dhcpcd.c
+++ dhcpcd5-6.10.1/dhcpcd.c
@@ -1883,7 +1883,7 @@ printpidfile:
 	if (ctx.ifc == 1 && !(ctx.options & DHCPCD_BACKGROUND))
 		ctx.options |= DHCPCD_WAITIP;
 
-	/* Start handling kernel messages for interfaces, addreses and
+	/* Start handling kernel messages for interfaces, addresses and
 	 * routes. */
 	eloop_event_add(ctx.eloop, ctx.link_fd, handle_link, &ctx, NULL, NULL);
 
Index: dhcpcd5-6.10.1/if-bsd.c
===================================================================
--- dhcpcd5-6.10.1.orig/if-bsd.c
+++ dhcpcd5-6.10.1/if-bsd.c
@@ -739,7 +739,7 @@ ifa_scope(struct sockaddr_in6 *sin, unsi
 
 #ifdef __KAME__
 	/* KAME based systems want to store the scope inside the sin6_addr
-	 * for link local addreses */
+	 * for link local addresses */
 	if (IN6_IS_ADDR_LINKLOCAL(&sin->sin6_addr)) {
 		uint16_t scope = htons((uint16_t)ifindex);
 		memcpy(&sin->sin6_addr.s6_addr[2], &scope,
