-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipv6_netif: fix ng_ipv6_netif_find_best_src_addr() for multicast #3048
Conversation
Do you mean |
No I mean |
I also came across this bug several days ago and can confirm it. |
Without this fix ng_ipv6_netif_find_best_src_addr() will return :: for most multicast addresses
5db5722
to
e93b8a1
Compare
Updated the commit message accordingly. |
Aaaah that makes much more sense :D |
@cgundogan is that also an ACK? |
@Lotterleben No. Not tested yet (: |
And now? |
I'd be interested in that too :) I think I understood the problem and the solution looks reasonable to me, but I'm sure @cgundogan has a much more well-informed view on this. I'd merge this fix based on @cgundogan s comment, if that makes sense. (sry, I know youre waiting for this PR but I'm a bit hesistant to merge when I'm unsure I know what I'm doing :D Otherwise we could just reassign to cenk, if thats okay with his workload?) |
I tested this briefly and it seems to work. Could you also add a quick unittest to |
Done. |
Wait a minute, I just realized an error in my thinking :D |
Will leave this for a follow-up PR. |
now i'm confused :D |
See #3061 |
…c-mc ipv6_netif: fix ng_ipv6_netif_find_best_src_addr() for multicast
Without this fix
ng_ipv6_netif_find_best_src_addr()
will return::
for most multicast addresses