Init Discovery Response TLV flag (#528)

This commit is contained in:
Lu Wang
2016-09-07 11:05:26 -07:00
committed by Jonathan Hui
parent a0b4120248
commit b0d33e510e
+1 -1
View File
@@ -972,7 +972,7 @@ public:
* This method initializes the TLV.
*
*/
void Init(void) { SetType(kDiscoveryResponse); SetLength(sizeof(*this) - sizeof(Tlv)); mReserved = 0; }
void Init(void) { SetType(kDiscoveryResponse); SetLength(sizeof(*this) - sizeof(Tlv)); mFlags = 0; mReserved = 0; }
/**
* This method indicates whether or not the TLV appears to be well-formed.