Skip to content

Commit

Permalink
Added prefence time back to ULA prefix add wi-sun.
Browse files Browse the repository at this point in the history
Change-Id: Icfc7cb72dd3a1021098a0e60b5ae3f33857af811
  • Loading branch information
Juha Heiskanen committed Feb 25, 2019
1 parent 0bee3db commit f40f518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/6LoWPAN/ws/ws_bbr_api.c
Expand Up @@ -170,7 +170,7 @@ static int ws_bbr_static_ula_create(protocol_interface_info_entry_t *cur)
tr_info("BBR generate ula prefix");

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

rpl_control_update_dodag_route(protocol_6lowpan_rpl_root_dodag, NULL, 0, 0, 7200, false);
rpl_control_update_dodag_prefix(protocol_6lowpan_rpl_root_dodag, static_dodag_id, 64, PIO_A, 7200, 0, false);
rpl_control_update_dodag_prefix(protocol_6lowpan_rpl_root_dodag, static_dodag_id, 64, PIO_A, 7200, 7200, false);
rpl_control_update_dodag_route(protocol_6lowpan_rpl_root_dodag, static_dodag_id, 64, 0x18, 7200, false);
rpl_control_update_dodag_prefix(protocol_6lowpan_rpl_root_dodag, global_id, 64, 0, 7200, 7200, false);
rpl_control_update_dodag_route(protocol_6lowpan_rpl_root_dodag, global_id, 64, 0, 7200, false);
Expand Down

0 comments on commit f40f518

Please sign in to comment.