From 681d9eae8d218cc6596a8acdd403c81bb37a73ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=20Lepp=C3=A4nen?= Date: Mon, 13 Sep 2021 10:09:46 +0300 Subject: [PATCH] Added reset for pan id and version to BR network start --- source/6LoWPAN/ws/ws_bootstrap_6lbr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/6LoWPAN/ws/ws_bootstrap_6lbr.c b/source/6LoWPAN/ws/ws_bootstrap_6lbr.c index 0b2d9f34dc4..536e4720b63 100644 --- a/source/6LoWPAN/ws/ws_bootstrap_6lbr.c +++ b/source/6LoWPAN/ws/ws_bootstrap_6lbr.c @@ -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);