Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2020-05-23 10:41:17 +09:00
parent 9adc2fed13
commit f8a60d811a

View File

@@ -192,9 +192,12 @@ void ClientRecvTask::run()
{ {
if ( client ) if ( client )
{ {
/* Client exists. Set SensorNet Address of it. */ /* Client exists. Set SensorNet Address of it, if Client is not secure one. */
if ( !client->isSecureNetwork() )
{
client->setClientAddress(senderAddr); client->setClientAddress(senderAddr);
} }
}
else else
{ {
/* create a new client */ /* create a new client */