Skip to content

Commit

Permalink
Change RPL dis destination address to RPL address
Browse files Browse the repository at this point in the history
  • Loading branch information
Mika Tervonen committed Apr 4, 2018
1 parent 126275b commit 908eb17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/6LoWPAN/ws/ws_bootstrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "6LoWPAN/ws/ws_common_defines.h"
#include "6LoWPAN/ws/ws_common.h"
#include "6LoWPAN/ws/ws_bootstrap.h"
#include "RPL/rpl_protocol.h"
#include "RPL/rpl_control.h"
#include "RPL/rpl_data.h"
#include "Common_Protocols/icmpv6.h"
Expand Down Expand Up @@ -862,7 +863,7 @@ static void ws_bootstrap_rpl_activate(protocol_interface_info_entry_t *cur)

cur->ws_info->rpl_state = 0xff; // Set invalid state and learn from event
if (cur->bootsrap_mode == ARM_NWK_BOOTSRAP_MODE_6LoWPAN_ROUTER) {
rpl_control_transmit_dis(cur->rpl_domain, cur, 0, 0, NULL, 0, ADDR_LINK_LOCAL_ALL_ROUTERS);
rpl_control_transmit_dis(cur->rpl_domain, cur, 0, 0, NULL, 0, ADDR_LINK_LOCAL_ALL_RPL_NODES);
}
}

Expand Down

0 comments on commit 908eb17

Please sign in to comment.