Fix function spelling mistake in Thread

lowpan_contex_get_by_id -> lowpan_context_get_by_id
pull/12537/head
David Lin 2020-02-29 12:05:18 +08:00 committed by GitHub
parent 922452d8d0
commit d5f4b8effb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1398,7 +1398,7 @@ static void thread_address_registration_tlv_parse(uint8_t *ptr, uint16_t data_le
ctxId = *ptr++;
if (ctxId & 0x80) {
ctxId &= 0x0f;
ctx = lowpan_contex_get_by_id(&cur->lowpan_contexts, ctxId);
ctx = lowpan_context_get_by_id(&cur->lowpan_contexts, ctxId);
if (ctx) {
memcpy(tempIPv6Address, ctx->prefix, 8);
memcpy(&tempIPv6Address[8], ptr, 8);