]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Clarify comments.
authorRoy Marples <roy@marples.name>
Tue, 3 Jun 2014 21:20:49 +0000 (21:20 +0000)
committerRoy Marples <roy@marples.name>
Tue, 3 Jun 2014 21:20:49 +0000 (21:20 +0000)
ipv6.c

diff --git a/ipv6.c b/ipv6.c
index 94bc2a84c92094ccab587dbd1c86bbe4296a2348..25ebd65a783a80c87c56bb546d12e695d98221f7 100644 (file)
--- a/ipv6.c
+++ b/ipv6.c
@@ -258,6 +258,8 @@ eexit:
        return -1;
 }
 
+/* http://www.iana.org/assignments/ipv6-interface-ids/ipv6-interface-ids.xhtml
+ * RFC5453 */
 static const struct reslowhigh {
        const uint8_t high[8];
        const uint8_t low[8];
@@ -343,7 +345,8 @@ ipv6_makestableprivate1(struct in6_addr *addr,
                len = sizeof(addr->s6_addr) - l;
                memcpy(p + l, digest + (sizeof(digest) - len), len);
 
-               /* Ensure that the Interface ID does not match a reserved one.
+               /* Ensure that the Interface ID does not match a reserved one,
+                * if it does then treat it as a DAD failure.
                 * RFC7217 section 5.2 */
                if (prefix_len != 64)
                        break;