Skip to content

Commit 49adf2e

Browse files
Link entry for neighbour (ARMmbed#1749)
write link entry in advertisement only if a valid short address exists for the neighbour.
1 parent 5bad8ee commit 49adf2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/6LoWPAN/Bootstraps/Generic/protocol_6lowpan_bootstrap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ static uint8_t *mle_table_set_neighbours(protocol_interface_info_entry_t *cur, u
421421

422422
loop_list = false;
423423

424-
if ((cur_entry->connected_device) && (cur_entry->advertisment == false)) {
424+
if ((cur_entry->connected_device) && (cur_entry->advertisment == false) && (cur_entry->mac16 < 0xfffe)) {
425425

426426
// If looping list, stops adding entries when at first sent entry again
427427
if (first_entry_ptr == cur_entry) {

0 commit comments

Comments
 (0)