Skip to content

Commit 908eb17

Browse files
author
Mika Tervonen
committed
Change RPL dis destination address to RPL address
1 parent 126275b commit 908eb17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/6LoWPAN/ws/ws_bootstrap.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#include "6LoWPAN/ws/ws_common_defines.h"
3838
#include "6LoWPAN/ws/ws_common.h"
3939
#include "6LoWPAN/ws/ws_bootstrap.h"
40+
#include "RPL/rpl_protocol.h"
4041
#include "RPL/rpl_control.h"
4142
#include "RPL/rpl_data.h"
4243
#include "Common_Protocols/icmpv6.h"
@@ -862,7 +863,7 @@ static void ws_bootstrap_rpl_activate(protocol_interface_info_entry_t *cur)
862863

863864
cur->ws_info->rpl_state = 0xff; // Set invalid state and learn from event
864865
if (cur->bootsrap_mode == ARM_NWK_BOOTSRAP_MODE_6LoWPAN_ROUTER) {
865-
rpl_control_transmit_dis(cur->rpl_domain, cur, 0, 0, NULL, 0, ADDR_LINK_LOCAL_ALL_ROUTERS);
866+
rpl_control_transmit_dis(cur->rpl_domain, cur, 0, 0, NULL, 0, ADDR_LINK_LOCAL_ALL_RPL_NODES);
866867
}
867868
}
868869

0 commit comments

Comments
 (0)