We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b335217 commit d345d51Copy full SHA for d345d51
src/platform/nxp/common/DnssdImplBr.cpp
@@ -251,7 +251,9 @@ CHIP_ERROR NxpChipDnssdRemoveServices()
251
252
if ((0 == strcmp(mServiceList[mServiceListFreeIndex]->mHostName, hostName)) &&
253
((0 == strcmp(mServiceList[mServiceListFreeIndex]->mServiceType, "_matter._tcp")) ||
254
- (0 == strcmp(mServiceList[mServiceListFreeIndex]->mServiceType, "_matterc._udp"))))
+ (0 == strcmp(mServiceList[mServiceListFreeIndex]->mServiceType, "_matterc._udp"))) &&
255
+ (mServiceList[mServiceListFreeIndex]->mTtl > 0))
256
+ // if mTtl = 0 , the service is already in the removal process but not yet removed
257
{
258
mServiceListFreeIndex++;
259
}
0 commit comments