[mle] set appropriate Response TLV length in SendChildUpdateResponse (#4400)

This commit is contained in:
Jonathan Hui
2019-12-13 17:20:01 -08:00
committed by GitHub
parent dff1694fe1
commit f49d8b7b1d
+1 -1
View File
@@ -3065,7 +3065,7 @@ void MleRouter::SendChildUpdateResponse(Child * aChild,
break;
case Tlv::kResponse:
SuccessOrExit(error = AppendResponse(*message, aChallenge.GetChallenge(), aChallenge.GetLength()));
SuccessOrExit(error = AppendResponse(*message, aChallenge.GetChallenge(), aChallenge.GetChallengeLength()));
break;
case Tlv::kSourceAddress: