From fb0e9559a136c81d192e836b54d9e4efdd81e747 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 28 Nov 2018 16:15:52 +0100 Subject: [PATCH] gnrc_ipv6: use is_6lo() instead of is_6ln() We want to check if the interface is an interface requiring the 6Lo adaptation layer, not if it is a 6LN according to RFC 6775 [[1]]. [1]: https://tools.ietf.org/html/rfc6775#section-2 --- sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c b/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c index 9e1bd1b159..0b3686d555 100644 --- a/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c +++ b/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c @@ -276,7 +276,7 @@ static void _send_to_iface(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt) #endif #ifdef MODULE_GNRC_SIXLOWPAN - if (gnrc_netif_is_6ln(netif)) { + if (gnrc_netif_is_6lo(netif)) { DEBUG("ipv6: send to 6LoWPAN instead\n"); if (!gnrc_netapi_dispatch_send(GNRC_NETTYPE_SIXLOWPAN, GNRC_NETREG_DEMUX_CTX_ALL, pkt)) { DEBUG("ipv6: no 6LoWPAN thread found\n");