X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fdhcpv6-ia.c;h=3a12114544e780e4f783849731b106deae663097;hp=25c11d756ff29a4fa05ca0f8c755ce18b359edb0;hb=ec3320078c11474b8ea48225f330c15d9471e312;hpb=da2657472b642a266c8a80763a51868e2af6b050 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; }