eclipse / mosquitto.rsmb

Mosquitto rsmb
85 stars 42 forks source link

fix support for link-local IPv6 addresses #32

Open benemorius opened 4 years ago

benemorius commented 4 years ago

This PR addresses link-local IPv6 handling in the broker by adding the interface ID (scope_id) as part of the address string for link-local clients.

This fixes the case where the broker receives a packet from a link-local IPv6 address and the reply is dropped due to not specifying which interface to send on.

See https://github.com/RIOT-OS/RIOT/tree/master/examples/emcute_mqttsn#i-see-incoming-messages-in-rsmb-but-no-outgoing-message-seems-to-arrive

benemorius commented 4 years ago

Ping @ralight @njh