summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-06-17 09:37:55 +0200
committerSteven Barth <steven@midlink.org>2014-06-17 09:37:55 +0200
commitec3320078c11474b8ea48225f330c15d9471e312 (patch)
tree70c8a6f850f44c4f8468703968ed52cf40f22eaa /src
parente7098a5d1dbcabb12bc870ef6aa412c7b3235ab2 (diff)
backup for notonlink
Diffstat (limited to 'src')
-rw-r--r--src/dhcpv6-ia.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c
index 25c11d7..3a12114 100644
--- 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;
}