Skip to content
Snippets Groups Projects
Commit 66e6e7db authored by Martine Lenders's avatar Martine Lenders
Browse files

Merge pull request #2987 from authmillenon/ipv6/fix/reachable

ng_ipv6: fix for API change in #2908
parents 376953e2 0df6729c
No related branches found
No related tags found
No related merge requests found
...@@ -446,7 +446,8 @@ static void _send(ng_pktsnip_t *pkt, bool prep_hdr) ...@@ -446,7 +446,8 @@ static void _send(ng_pktsnip_t *pkt, bool prep_hdr)
next_hop = &hdr->dst; /* TODO: next hop determination */ next_hop = &hdr->dst; /* TODO: next hop determination */
if ((nc_entry = ng_ipv6_nc_get_reachable(iface, next_hop)) == NULL) { if (((nc_entry = ng_ipv6_nc_get(iface, next_hop)) == NULL) ||
!ng_ipv6_nc_is_reachable(nc_entry)) {
DEBUG("ipv6: No link layer address for next_hop %s found.\n", DEBUG("ipv6: No link layer address for next_hop %s found.\n",
ng_ipv6_addr_to_str(addr_str, next_hop, sizeof(addr_str))); ng_ipv6_addr_to_str(addr_str, next_hop, sizeof(addr_str)));
ng_pktbuf_release(pkt); ng_pktbuf_release(pkt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment