mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-15 16:36:52 +01:00
@@ -192,8 +192,11 @@ 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. */
|
||||||
client->setClientAddress(senderAddr);
|
if ( !client->isSecureNetwork() )
|
||||||
|
{
|
||||||
|
client->setClientAddress(senderAddr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user