summaryrefslogtreecommitdiffstats
path: root/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2014-06-03 21:20:49 +0000
committerRoy Marples <roy@marples.name>2014-06-03 21:20:49 +0000
commitbe844cae6d927e1f8f132f0fc94bcab1565b0fe8 (patch)
tree8fe2e0a7187f37b74a654c8eaa57dca6fc497a18 /ipv6.c
parentf969dd2a71ccaceaeea5ed64af4e1700afde1079 (diff)
downloaddhcpcd-be844cae6d927e1f8f132f0fc94bcab1565b0fe8.tar.xz
Clarify comments.
Diffstat (limited to 'ipv6.c')
-rw-r--r--ipv6.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipv6.c b/ipv6.c
index 94bc2a84..25ebd65a 100644
--- 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;