Mercurial > hg > dhcpcd
changeset 2557:bb3193c599fd draft
Add a comment to describe why we deny the ability to assign prefixes
to the requesting interface [ac7063e671].
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 02 Jul 2014 08:23:28 +0000 |
| parents | 32b8516c20fc |
| children | 044ce7911580 |
| files | if-options.c |
| diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/if-options.c Tue Jul 01 21:14:59 2014 +0000 +++ b/if-options.c Wed Jul 02 08:23:28 2014 +0000 @@ -1322,6 +1322,13 @@ np = strchr(p, '/'); if (np) *np++ = '\0'; + /* + * RFC3633 12.1 + * the requesting router MUST NOT assign any delegated + * prefixes or subnets from the delegated prefix(es) to + * the link through which it received the DHCP message + * from the delegating router. + */ if (strcmp(ifname, p) == 0) { syslog(LOG_ERR, "%s: cannot assign IA_PD to itself",
