eclipse / paho.mqtt-sn.embedded-c

Paho C MQTT-SN gateway and libraries for embedded systems. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
313 stars 179 forks source link

Bugfix: MQTTSNGateway mangles UDP6 client list #237

Closed fgrandel closed 3 years ago

fgrandel commented 3 years ago

Fixes an off-by-one-error in the code that parses the IP6 address of the client list when SENSORNET=udp6.

See SENSORNET=udp which has the same logic. (Tested on Raspberry PI)

fgrandel commented 3 years ago

Hi MQTTSNGateway devs, Travis says, that I've not signed the contributor agreement. But that's not true. Maybe it takes some time as I just opened my account there?

ty4tw commented 3 years ago

It's not a bug. http://tools.ietf.org/html/rfc5952#section-6 2001:db8::1.80 2001:db8::1 port 80 2001:db8::1p80 2001:db8::1#80 2001:db8::1:80 clients.conf use this notation.