Skip to content

Commit

Permalink
restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
kpschoedel committed Dec 14, 2021
1 parent 85a421d commit 4c35be9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/inet/TCPEndPointImplLwIP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ CHIP_ERROR TCPEndPointImplLwIP::GetPeerInfo(IPAddress * retAddr, uint16_t * retP
{
*retPort = mTCP->remote_port;
*retAddr = IPAddress(mTCP->remote_ip);
res = CHIP_NO_ERROR;
res = CHIP_NO_ERROR;
}

// Unlock LwIP stack
Expand All @@ -205,7 +205,7 @@ CHIP_ERROR TCPEndPointImplLwIP::GetLocalInfo(IPAddress * retAddr, uint16_t * ret
{
*retPort = mTCP->local_port;
*retAddr = IPAddress(mTCP->local_ip);
res = CHIP_NO_ERROR;
res = CHIP_NO_ERROR;
}

// Unlock LwIP stack
Expand Down
6 changes: 3 additions & 3 deletions src/inet/UDPEndPointImplLwIP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ void UDPEndPointImplLwIP::LwIPReceiveUDPMessage(void * arg, struct udp_pcb * pcb
{
pktInfo->SrcAddress = IPAddress(*addr);
pktInfo->DestAddress = IPAddress(*ip_current_dest_addr());
pktInfo->Interface = InterfaceId(ip_current_netif());
pktInfo->SrcPort = port;
pktInfo->DestPort = pcb->local_port;
pktInfo->Interface = InterfaceId(ip_current_netif());
pktInfo->SrcPort = port;
pktInfo->DestPort = pcb->local_port;
}

ep->Retain();
Expand Down

0 comments on commit 4c35be9

Please sign in to comment.