ng_ipv6_netif: ng_ipv6_netif_find_best_src_addr() doesn't take mc addresses scope into account #3061
Labels
Area: network
Area: Networking
Impact: minor
The PR is small in size and might only require a quick look of a knowledgeable reviewer
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Milestone
Multicast addresses have a scope. Among this the link-local scope.
ng_ipv6_netif_find_best_src_addr()
currently returns just the first fitting unicast address assigned to the interface af the input address is a multicast address and the scope is not taken into account. A fix for that should do that and also consider other prefixes for other multicast scopes.Marked as minor bug, since we haven't implemented MLD until now and thus only dealing with link-local-only multicast addresses anyways.
The text was updated successfully, but these errors were encountered: