Mercurial > hg > dhcpcd
changeset 2515:1f5fc94ae1cf draft
Clarify comments.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Tue, 03 Jun 2014 21:20:49 +0000 |
| parents | e2ef2c23715f |
| children | 88bbfcbd9ec4 |
| files | ipv6.c |
| diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ipv6.c Tue Jun 03 21:09:42 2014 +0000 +++ b/ipv6.c Tue Jun 03 21:20:49 2014 +0000 @@ -258,6 +258,8 @@ 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 @@ 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;
