Skip to content

Commit 0c94982

Browse files
author
Mika Tervonen
committed
When starting bootstrap clear candidate parent list
This caused all information to be present when bootstrap was started
1 parent 6c25cf5 commit 0c94982

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/6LoWPAN/ws/ws_bootstrap.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,6 +2229,9 @@ static void ws_bootstrap_start_discovery(protocol_interface_info_entry_t *cur)
22292229
// Clear learned neighbours
22302230
ws_bootstrap_neighbor_list_clean(cur);
22312231

2232+
// Clear learned candidate parents
2233+
ws_bootstrap_candidate_table_reset(cur);
2234+
22322235
// Clear RPL information
22332236
rpl_control_free_domain_instances_from_interface(cur);
22342237
// Clear EAPOL relay address

0 commit comments

Comments
 (0)