1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +01:00
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-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2020-11-12 22:50:53 +01:00
2021-02-22 14:54:14 +01:00
2020-11-18 18:38:44 +01:00
2020-11-06 15:57:52 +01:00
2021-02-22 14:54:14 +01:00
2020-10-23 11:27:48 +02:00
2021-01-21 10:03:44 +01:00
2021-01-18 14:14:13 +01:00
2021-01-21 11:22:32 +01:00
2021-01-26 17:40:30 +01:00
2021-02-22 14:54:14 +01:00
2020-11-25 12:00:13 +01:00
2021-02-22 14:54:15 +01:00
2021-03-15 10:36:46 +01:00
2021-02-22 14:54:15 +01:00
2020-10-23 11:27:48 +02:00
2020-11-06 15:57:53 +01:00
2021-02-22 14:56:37 +01:00
2020-11-23 16:56:34 +01:00