nd6: Update RA link-local addr option length check

lwIP might support different hardware address lengths (when using
Ethernet and 6LoWPAN for instance). Match provided lladdr length
from Router Advertisement to the current network interface instead
of comparing against longest that can be stored.
This commit is contained in:
Erik Ekman
2023-09-28 22:06:27 +02:00
parent 4f78da983f
commit 7807f706f3
3 changed files with 9 additions and 2 deletions

View File

@@ -6,6 +6,11 @@ HISTORY
* [Enter new changes just after this line - do not remove this line]
++ Bugfixes:
2023-09-28: Erik Ekman
* Fix ND6 Router Advertisement parsing when NETIF_MAX_HWADDR_LEN is above 6.
(STABLE-2.2.0):
2018-10-02: Dirk Ziegelmeier