From 12171a12700a12da788306a39e2124ea3d3d7049 Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Wed, 10 Oct 2018 02:14:00 +0800 Subject: [PATCH] [meshcop] do not set joiner port in constructor (#3131) --- src/core/meshcop/joiner_router.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/meshcop/joiner_router.cpp b/src/core/meshcop/joiner_router.cpp index 86a24a9a4..20e1b980d 100644 --- a/src/core/meshcop/joiner_router.cpp +++ b/src/core/meshcop/joiner_router.cpp @@ -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); }