mirror of
https://github.com/espressif/openthread.git
synced 2026-08-24 03:09:52 +00:00
allow anycast locator as source address (#1602)
This commit is contained in:
@@ -357,7 +357,6 @@ ThreadError Ip6::SendDatagram(Message &message, MessageInfo &messageInfo, IpProt
|
||||
header.SetHopLimit(messageInfo.mHopLimit ? messageInfo.mHopLimit : static_cast<uint8_t>(kDefaultHopLimit));
|
||||
|
||||
if (messageInfo.GetSockAddr().IsUnspecified() ||
|
||||
messageInfo.GetSockAddr().IsAnycastRoutingLocator() ||
|
||||
messageInfo.GetSockAddr().IsMulticast())
|
||||
{
|
||||
VerifyOrExit((source = SelectSourceAddress(messageInfo)) != NULL,
|
||||
|
||||
Reference in New Issue
Block a user