diff options
author | Steven Barth <steven@midlink.org> | 2014-10-16 17:29:19 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-10-16 17:29:19 +0200 |
commit | a5ebe69d1bc387937bc5448534751123833585fd (patch) | |
tree | 7f93e57ac25adbfc27636889b5ebbda18f4505e4 | |
parent | cf90f5ab2d5b4b6cece7d0096df12eb29e7d1568 (diff) |
dhcpv6: allow flash renumbering in hybrid management mode
-rw-r--r-- | src/dhcpv6-ia.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index b235f22..6ece528 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -800,6 +800,9 @@ static size_t append_reply(uint8_t *buf, size_t buflen, uint16_t status, #endif datalen += entrlen + 4; } else { + if (!a->accept_reconf && iface->managed < RELAYD_MANAGED_NO_AFLAG) + prefix_pref = 1; + struct dhcpv6_ia_addr n = { .type = htons(DHCPV6_OPT_IA_ADDR), .len = htons(sizeof(n) - 4), |