Skip to content

Commit

Permalink
[DNS-SD] Refresh services on RemoveFabric command
Browse files Browse the repository at this point in the history
AddNOC and UpdateNOC commands both cause refreshing DNS-SD
services, but RemoveFabric does not remove the obsolete
operational node service.
  • Loading branch information
Damian-Nordic committed Oct 14, 2021
1 parent 267951c commit 8d3c4e8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ bool emberAfOperationalCredentialsClusterRemoveFabricCallback(app::CommandHandle
CHIP_ERROR err = Server::GetInstance().GetFabricTable().Delete(fabricBeingRemoved);
VerifyOrExit(err == CHIP_NO_ERROR, status = EMBER_ZCL_STATUS_FAILURE);

app::DnssdServer::Instance().StartServer();

exit:
writeFabricsIntoFabricsListAttribute();
emberAfSendImmediateDefaultResponse(status);
Expand Down

0 comments on commit 8d3c4e8

Please sign in to comment.