mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
sixlowpan: Broadcast message when neighbour not found in cache.
This commit is contained in:
parent
a846409a55
commit
70cf054b5e
@ -124,7 +124,7 @@ int ipv6_send_packet(ipv6_hdr_t *packet, ipv6_addr_t *next_hop)
|
||||
nce->lladdr_len, (uint8_t *) packet, length) < 0) {
|
||||
/* XXX: this is wrong, but until ND does work correctly,
|
||||
* this is the only way (aka the old way)*/
|
||||
uint16_t raddr = dest->uint16[7];
|
||||
uint16_t raddr = 0xffff; /* Broadcast message */
|
||||
sixlowpan_lowpan_sendto(0, &raddr, 2, (uint8_t *) packet,
|
||||
length);
|
||||
/* return -1; */
|
||||
|
Loading…
Reference in New Issue
Block a user