[dhcp6-server] fix removal of anycast address (#6423)

This commit is contained in:
Jonathan Hui
2021-04-13 21:12:41 -07:00
parent d514373832
commit 25418c15c9
+1
View File
@@ -94,6 +94,7 @@ Error Server::UpdateService(void)
if (!found)
{
Get<ThreadNetif>().RemoveUnicastAddress(prefixAgent.GetAloc());
prefixAgent.Clear();
mPrefixAgentsCount--;
}