Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[trel] updates for switching trel interface (#2579)
As it's possible to switch network interface for TREL in openthread/openthread#10872, updated trel_dnssd.cpp in 2 places: 1) Initialize() can be called multiple times now, so it should clear the mTrelNetifIndex at the beginning to refresh the index according to the given interface name. 2) HandleMdnsState() may be invoked when TrelDnssd is not initialized, we should still update the mMdnsPublisherReady status, so it's ready to publish a service when TrelDnssd becomes initialized.
- Loading branch information