Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2020-05-28 11:57:30 +09:00
parent f8a60d811a
commit b73d743d00

View File

@@ -192,8 +192,8 @@ void ClientRecvTask::run()
{ {
if ( client ) if ( client )
{ {
/* Client exists. Set SensorNet Address of it, if Client is not secure one. */ /* Authentication is not required */
if ( !client->isSecureNetwork() ) if ( _gateway->getGWParams()->clientAuthentication == false)
{ {
client->setClientAddress(senderAddr); client->setClientAddress(senderAddr);
} }