projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf90f5a
)
dhcpv6: allow flash renumbering in hybrid management mode
author
Steven Barth
<steven@midlink.org>
Thu, 16 Oct 2014 15:29:19 +0000
(17:29 +0200)
committer
Steven Barth
<steven@midlink.org>
Thu, 16 Oct 2014 15:29:19 +0000
(17:29 +0200)
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index b235f228eef7832ce417b8b5c6bc978c389d21d2..6ece528bd6e71fd6e1ca3a946d2371508f3ccdae 100644
(file)
--- 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),