Skip to content

Commit 637402f

Browse files
committed
fix(openthread): wrong field reference
1 parent 6e0507c commit 637402f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/OpenThread/src/OThread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ IPAddress OpenThread::getLeaderRloc() const {
498498
log_w("Failed to get Leader RLOC");
499499
return IPAddress(IPv6);
500500
}
501-
return IPAddress(IPv6, otAddr->mFields.m8);
501+
return IPAddress(IPv6, otAddr.mFields.m8);
502502
}
503503

504504
// Get the Node RLOC

0 commit comments

Comments
 (0)