mirror of
https://github.com/espressif/openthread.git
synced 2026-08-06 10:47:46 +00:00
Start "joiner router" only if joining is enabled (#1669)
This commit is contained in:
committed by
Jonathan Hui
parent
b06707fc95
commit
0759f874e0
@@ -91,7 +91,7 @@ void JoinerRouter::HandleNetifStateChanged(uint32_t aFlags)
|
||||
|
||||
mNetif.GetIp6Filter().RemoveUnsecurePort(mSocket.GetSockName().mPort);
|
||||
|
||||
if (mNetif.GetNetworkDataLeader().GetCommissioningData() != NULL)
|
||||
if (mNetif.GetNetworkDataLeader().IsJoiningEnabled())
|
||||
{
|
||||
Ip6::SockAddr sockaddr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user