Initialize DiscoveryRequestTlv::mFlags. (#559)

This commit is contained in:
Jonathan Hui
2016-09-12 08:42:43 -07:00
committed by GitHub
parent 7a807e99fa
commit 6a59efde56
+1 -1
View File
@@ -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.