mirror of
https://github.com/espressif/openthread.git
synced 2026-07-31 08:07:47 +00:00
[posix] fix mld process invalid arguments (#4764)
This commit is contained in:
@@ -464,7 +464,7 @@ static void processMLDEvent(otInstance *aInstance)
|
||||
uint8_t buffer[kMaxMLDEvent];
|
||||
ssize_t bufferLen = -1;
|
||||
struct sockaddr_in6 srcAddr;
|
||||
socklen_t addrLen;
|
||||
socklen_t addrLen = sizeof(srcAddr);
|
||||
bool fromSelf = false;
|
||||
MLDv2Header * hdr = reinterpret_cast<MLDv2Header *>(buffer);
|
||||
size_t offset;
|
||||
|
||||
Reference in New Issue
Block a user