projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7098a5
)
backup for notonlink
author
Steven Barth
<steven@midlink.org>
Tue, 17 Jun 2014 07:37:55 +0000
(09:37 +0200)
committer
Steven Barth
<steven@midlink.org>
Tue, 17 Jun 2014 07:37:55 +0000
(09:37 +0200)
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index 25c11d756ff29a4fa05ca0f8c755ce18b359edb0..3a12114544e780e4f783849731b106deae663097 100644
(file)
--- a/
src/dhcpv6-ia.c
+++ b/
src/dhcpv6-ia.c
@@
-1184,6
+1184,8
@@
ssize_t dhcpv6_handle_ia(uint8_t *buf, size_t buflen, struct interface *iface,
}
} else if (hdr->msg_type == DHCPV6_MSG_CONFIRM && ia_addr_present) {
// Send NOTONLINK for CONFIRM with addr present so that clients restart connection
+ status = DHCPV6_STATUS_NOTONLINK;
+ ia_response_len = append_reply(buf, buflen, status, ia, a, iface, true);
notonlink = true;
}