mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 11:17:46 +00:00
turn on warnings and errors (#280)
This commit is contained in:
committed by
Jonathan Hui
parent
3b4bf8594e
commit
318fe4b415
@@ -125,7 +125,7 @@ ThreadError Ip6::SendDatagram(Message &message, MessageInfo &messageInfo, IpProt
|
||||
header.Init();
|
||||
header.SetPayloadLength(payloadLength);
|
||||
header.SetNextHeader(ipproto);
|
||||
header.SetHopLimit(messageInfo.mHopLimit ? messageInfo.mHopLimit : kDefaultHopLimit);
|
||||
header.SetHopLimit(messageInfo.mHopLimit ? messageInfo.mHopLimit : static_cast<uint8_t>(kDefaultHopLimit));
|
||||
|
||||
if (messageInfo.GetSockAddr().IsUnspecified())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user