From 4c35be9fd09e75426e72546a32ec8b84a9a3bd30 Mon Sep 17 00:00:00 2001 From: Kevin Schoedel Date: Tue, 14 Dec 2021 14:59:12 -0500 Subject: [PATCH] restyle --- src/inet/TCPEndPointImplLwIP.cpp | 4 ++-- src/inet/UDPEndPointImplLwIP.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/inet/TCPEndPointImplLwIP.cpp b/src/inet/TCPEndPointImplLwIP.cpp index 749544acaa43f6..88cb6fc0c55b34 100644 --- a/src/inet/TCPEndPointImplLwIP.cpp +++ b/src/inet/TCPEndPointImplLwIP.cpp @@ -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 @@ -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 diff --git a/src/inet/UDPEndPointImplLwIP.cpp b/src/inet/UDPEndPointImplLwIP.cpp index 9efd46be54e8af..fe8f25db266cad 100644 --- a/src/inet/UDPEndPointImplLwIP.cpp +++ b/src/inet/UDPEndPointImplLwIP.cpp @@ -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();