Skip to content

Commit 44f85aa

Browse files
author
Juha Heiskanen
committed
Enabled RPL candidate list filtering and only certificate setup accept without limit.
Change-Id: I4192ba60380a49ee858e4ba490daf0f417b0e6dd
1 parent 145c739 commit 44f85aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/6LoWPAN/ws/ws_bootstrap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ static void ws_rpl_prefix_callback(prefix_entry_t *prefix, void *handle, uint8_t
21632163
static bool ws_rpl_candidate_soft_filtering(protocol_interface_info_entry_t *cur, struct rpl_instance *instance)
21642164
{
21652165
//If bootstrap active we not need any candidate filtering
2166-
if ((cur->lowpan_info & INTERFACE_NWK_BOOTSRAP_ACTIVE)) {
2166+
if ((cur->lowpan_info & INTERFACE_NWK_BOOTSRAP_ACTIVE) && (ws_info(cur)->network_size_config == NETWORK_SIZE_CERTIFICATE)) {
21672167
return true;
21682168
}
21692169

0 commit comments

Comments
 (0)