Skip to content

Commit 0e65ee5

Browse files
author
Mika Leppänen
committed
Added disabling of NA for Thread BR PPP backbone
If backbone is PPP and not ethernet, BR no longer sends neighbor advertisements to the interface when new address is registered.
1 parent 4c50e52 commit 0e65ee5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/6LoWPAN/Thread/thread_bbr_api.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,10 @@ int thread_bbr_na_send(int8_t interface_id, const uint8_t target[static 16])
992992
if (!cur) {
993993
return -1;
994994
}
995+
// Send NA only if it is enabled for the backhaul
996+
if (!cur->send_na) {
997+
return -1;
998+
}
995999

9961000
buffer_t *buffer = icmpv6_build_na(cur, false, true, true, target, NULL, ADDR_UNSPECIFIED);
9971001
protocol_push(buffer);

0 commit comments

Comments
 (0)