Skip to content

Commit f40f518

Browse files
author
Juha Heiskanen
committed
Added prefence time back to ULA prefix add wi-sun.
Change-Id: Icfc7cb72dd3a1021098a0e60b5ae3f33857af811
1 parent 0bee3db commit f40f518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/6LoWPAN/ws/ws_bbr_api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static int ws_bbr_static_ula_create(protocol_interface_info_entry_t *cur)
170170
tr_info("BBR generate ula prefix");
171171

172172
// This address is only used if no other address available.
173-
if_address_entry_t *add_entry = icmpv6_slaac_address_add(cur, static_dodag_prefix, 64, 0xffffffff, 0, true, SLAAC_IID_FIXED);
173+
if_address_entry_t *add_entry = icmpv6_slaac_address_add(cur, static_dodag_prefix, 64, 0xffffffff, 0xffffffff, true, SLAAC_IID_FIXED);
174174
if (!add_entry) {
175175
return -1;
176176
}
@@ -322,7 +322,7 @@ static void ws_bbr_rpl_status_check(protocol_interface_info_entry_t *cur)
322322
ws_dhcp_client_address_request(cur, global_id, ll);
323323

324324
rpl_control_update_dodag_route(protocol_6lowpan_rpl_root_dodag, NULL, 0, 0, 7200, false);
325-
rpl_control_update_dodag_prefix(protocol_6lowpan_rpl_root_dodag, static_dodag_id, 64, PIO_A, 7200, 0, false);
325+
rpl_control_update_dodag_prefix(protocol_6lowpan_rpl_root_dodag, static_dodag_id, 64, PIO_A, 7200, 7200, false);
326326
rpl_control_update_dodag_route(protocol_6lowpan_rpl_root_dodag, static_dodag_id, 64, 0x18, 7200, false);
327327
rpl_control_update_dodag_prefix(protocol_6lowpan_rpl_root_dodag, global_id, 64, 0, 7200, 7200, false);
328328
rpl_control_update_dodag_route(protocol_6lowpan_rpl_root_dodag, global_id, 64, 0, 7200, false);

0 commit comments

Comments
 (0)