Typo fixed.

pull/13497/head
Debdeep Saha 2020-08-18 20:54:15 +05:30 committed by Arto Kinnunen
parent c0172154e6
commit 0258c89f6d
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ typedef struct ws_rpl_info {
/** RPL version number */
uint8_t version;
/** RPL DODAG node current Rank */
uint16_t curent_rank;
uint16_t current_rank;
/** RPL Primary Parent Rank */
uint16_t primary_parent_rank;
} ws_rpl_info_t;

View File

@ -588,7 +588,7 @@ mesh_error_t WisunInterface::info_get(ws_rpl_info_t *info_ptr)
info_ptr->instance_id = dodag_ptr.instance_id;
info_ptr->version = dodag_ptr.version_num;
info_ptr->curent_rank = dodag_ptr.curent_rank;
info_ptr->current_rank = dodag_ptr.curent_rank;
info_ptr->primary_parent_rank = dodag_ptr.primary_parent_rank;
memcpy(info_ptr->rpl_dodag_id, dodag_ptr.dodag_id, 16);