Skip to content

Commit

Permalink
[DNS-SD] Refresh services on RemoveFabric command (#10499)
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 authored and pull[bot] committed Oct 18, 2021
1 parent 297ead1 commit ff3df73
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,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 ff3df73

Please sign in to comment.