Skip to content

Commit

Permalink
Add all Thread ULA addresses to the lwip interface
Browse files Browse the repository at this point in the history
ULA prefixes will used for CHIP network so we need to add all these
addresses to the interface.
  • Loading branch information
gjc13 committed Dec 2, 2020
1 parent cb21694 commit 552de78
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ void GenericThreadStackManagerImpl_OpenThread_LwIP<ImplClass>::UpdateThreadInter
// Non-fabric ULAs are ignored entirely as they are presumed to not be of interest to CHIP-enabled
// devices, and would otherwise consume slots in the LwIP address table, potentially leading to
// starvation.
if (otAddr->mValid && !otAddr->mRloc &&
(!addr.IsIPv6ULA() || IsOpenThreadMeshLocalAddress(Impl()->OTInstance(), addr)))
if (otAddr->mValid && !otAddr->mRloc)
{
ip_addr_t lwipAddr = addr.ToLwIPAddr();
s8_t addrIdx;
Expand Down

0 comments on commit 552de78

Please sign in to comment.