[riot-notifications] [RIOT] 6lowpan nd: always perform l2 lookup for 6LBR (#3846)
Martine Lenders
notifications at github.com
Wed Sep 16 23:36:12 CEST 2015
> @@ -164,6 +164,15 @@ kernel_pid_t gnrc_sixlowpan_nd_next_hop_l2addr(uint8_t *l2addr, uint8_t *l2addr_
> nc_entry = gnrc_ipv6_nc_get(iface, next_hop);
> }
> if (ipv6_addr_is_link_local(next_hop)) {
> +/* in case of a border router there is no sensible way for address resolution
> + * if the interface is not given */
> +#ifdef MODULE_GNRC_SIXLOWPAN_ND_BORDER_ROUTER
> + /* if no interface is specified it is impossible to resolve the
> + * link-layer address for a link-local address on a 6LBR */
> + if (iface == NULL) {
> + return KERNEL_PID_UNDEF;
Especially on the border router you are not in lowpan anymore ;-)
---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3846/files#r39688523
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150916/f761e18e/attachment.html>
More information about the notifications
mailing list