Benjamin Valentin d2b6f79143 gnrc_ipv6_nib: consider all prefixes when deciding on-link next hop
Consider the following configuration:

    nib prefix
    2001:16b8:4569:88fc::/62 dev #7  expires 7081 sec deprecates 3481 sec
    2001:16b8:4569:88fe::/63 dev #6

If `_on_link()` stops at the first match, a packet received from #7 with a
destination in the downstream subnet in #6 would always be sent back via #7
if this happens to be the first entry in the list.

Instead, consider all prefixes and return the one that is the closest match.
2021-06-07 12:58:42 +02:00
..
2021-01-26 16:17:18 +01:00
2020-10-23 11:27:48 +02:00
2020-11-13 22:59:09 +01:00
2021-01-21 11:22:33 +01:00
2018-03-06 14:00:32 +01:00
2018-06-11 19:12:02 +02:00
2015-08-30 14:00:33 +02:00