mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 03:07:47 +00:00
[meshcop] do not set joiner port in constructor (#3131)
This commit is contained in:
@@ -66,7 +66,6 @@ JoinerRouter::JoinerRouter(Instance &aInstance)
|
||||
, mIsJoinerPortConfigured(false)
|
||||
, mExpectJoinEntRsp(false)
|
||||
{
|
||||
mSocket.GetSockName().mPort = OPENTHREAD_CONFIG_JOINER_UDP_PORT;
|
||||
GetNetif().GetCoap().AddResource(mRelayTransmit);
|
||||
aInstance.GetNotifier().RegisterCallback(mNotifierCallback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user