[riot-notifications] [RIOT-OS/RIOT] drivers/slipdev: report NETOPT_ADDRESS to simulate l2 address (#16531)

benpicco notifications at github.com
Tue Jun 8 12:38:49 CEST 2021


Well GNRC needs it for all those `netif->flags & GNRC_NETIF_FLAGS_HAS_L2ADDR` checks that will often just return error if the flag is not set.
Instead of providing a fallback each time (basically `netdev_eui64_get(&netif->dev, iid);` I found it much simpler to just provide a 'virtual' L2 address and have everything work automatically. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16531#issuecomment-856654522
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210608/697db8bf/attachment.htm>


More information about the notifications mailing list