Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and QuentinCaldeira-eaton committed Jun 28, 2024
1 parent a3d43a0 commit 9ce6ee0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/inet/UDPEndPointImplSockets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -784,9 +784,9 @@ CHIP_ERROR UDPEndPointImplSockets::IPv4JoinLeaveMulticastGroupImpl(InterfaceId a
#if INET_CONFIG_UDP_SOCKET_MREQN
struct ip_mreqn lMulticastRequest;
memset(&lMulticastRequest, 0, sizeof(lMulticastRequest));
lMulticastRequest.imr_ifindex = aInterfaceId.GetPlatformInterface(); /* Network interface index */
lMulticastRequest.imr_address = interfaceAddr; /* IP address of local interface */
lMulticastRequest.imr_multiaddr = aAddress.ToIPv4(); /* IP multicast group address*/
lMulticastRequest.imr_ifindex = aInterfaceId.GetPlatformInterface(); /* Network interface index */
lMulticastRequest.imr_address = interfaceAddr; /* IP address of local interface */
lMulticastRequest.imr_multiaddr = aAddress.ToIPv4(); /* IP multicast group address*/

#else

Expand Down

0 comments on commit 9ce6ee0

Please sign in to comment.