[riot-notifications] [RIOT-OS/RIOT] gnrc_netif: use link-local source address if destination is link-local (#16665)

Martine Lenders notifications at github.com
Wed Jul 21 11:26:06 CEST 2021


The source address selection is quite involved https://datatracker.ietf.org/doc/html/rfc6724, but from what I remember, rule 2 should make sure that if a link-local address is present the appropriate scope will be selected. So I'd rather not touch that by enforcing it. E.g. what if, for whatever reason, the interface does not have a link-local address, then with this change the source address selection will always fail. So there must be another reason why a global address is picked in your case. Usually, a link-local address should be picked.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16665#issuecomment-884037383
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210721/451f1790/attachment.htm>


More information about the notifications mailing list