mirror of
https://github.com/espressif/openthread.git
synced 2026-09-03 07:40:10 +00:00
Remove assert used for debugging when no route is found. (#380)
This commit is contained in:
@@ -521,9 +521,10 @@ ThreadError MeshForwarder::UpdateIp6Route(Message &aMessage)
|
||||
else
|
||||
{
|
||||
mNetworkData.RouteLookup(ip6Header.GetSource(), ip6Header.GetDestination(), NULL, &mMeshDest);
|
||||
assert(mMeshDest != Mac::kShortAddrInvalid);
|
||||
}
|
||||
|
||||
VerifyOrExit(mMeshDest != Mac::kShortAddrInvalid, error = kThreadError_Drop);
|
||||
|
||||
if (mMle.GetNeighbor(mMeshDest) != NULL)
|
||||
{
|
||||
// destination is neighbor
|
||||
|
||||
Reference in New Issue
Block a user