diff --git a/MQTTSNGateway/src/linux/udp6/SensorNetwork.cpp b/MQTTSNGateway/src/linux/udp6/SensorNetwork.cpp index 353d793..73ddb2d 100644 --- a/MQTTSNGateway/src/linux/udp6/SensorNetwork.cpp +++ b/MQTTSNGateway/src/linux/udp6/SensorNetwork.cpp @@ -424,7 +424,7 @@ int UDPPort6::broadcast(const uint8_t* buf, uint32_t length) #ifdef DEBUG_NW char addrBuf[INET6_ADDRSTRLEN]; - addr->sprint(addrBuf); + _grpAddr.sprint(addrBuf); D_NWSTACK("sendto %s\n", addrBuf); #endif