Skip to content

Commit

Permalink
Added reset for pan id and version to BR network start
Browse files Browse the repository at this point in the history
  • Loading branch information
Mika Leppänen committed Sep 14, 2021
1 parent 30d4fb2 commit 681d9ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/6LoWPAN/ws/ws_bootstrap_6lbr.c
Expand Up @@ -309,7 +309,8 @@ void ws_bootstrap_6lbr_event_handler(protocol_interface_info_entry_t *cur, arm_e
return;
}
// Clear Old information from stack

cur->ws_info->network_pan_id = 0xffff;
cur->ws_info->pan_information.pan_version_set = false;
ws_nud_table_reset(cur);
ws_bootstrap_neighbor_list_clean(cur);
ws_bootstrap_ip_stack_reset(cur);
Expand Down

0 comments on commit 681d9ea

Please sign in to comment.