mirror of
https://github.com/espressif/openthread.git
synced 2026-08-01 16:47:47 +00:00
Initialize DiscoveryRequestTlv::mFlags. (#559)
This commit is contained in:
@@ -1293,7 +1293,7 @@ public:
|
||||
* This method initializes the TLV.
|
||||
*
|
||||
*/
|
||||
void Init(void) { SetType(kDiscoveryRequest); SetLength(sizeof(*this) - sizeof(Tlv)); mReserved = 0; }
|
||||
void Init(void) { SetType(kDiscoveryRequest); SetLength(sizeof(*this) - sizeof(Tlv)); mFlags = 0; mReserved = 0; }
|
||||
|
||||
/**
|
||||
* This method indicates whether or not the TLV appears to be well-formed.
|
||||
|
||||
Reference in New Issue
Block a user