]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Update spelling in comments.
authorRoy Marples <roy@marples.name>
Tue, 12 Sep 2017 11:22:28 +0000 (12:22 +0100)
committerRoy Marples <roy@marples.name>
Tue, 12 Sep 2017 11:22:28 +0000 (12:22 +0100)
Fixes T137.

src/dhcpcd.c
src/if-bsd.c

index fe21612a2f99a41aca5aaa75d594ad5f4f61a15e..f134b7186d632197d85b67fcf6b9aab9bfc84a55 100644 (file)
@@ -1844,7 +1844,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, dhcpcd_handlelink, &ctx);
 
index 62d661f191402099f17a666507211ea14845dec9..43005556cab245871ebad8e16353fc980ef9502d 100644 (file)
@@ -769,7 +769,7 @@ ifa_scope(struct sockaddr_in6 *sin, unsigned int ifindex)
 
 #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,