Skip to content

Commit

Permalink
Adds fix for IPV6 multicast
Browse files Browse the repository at this point in the history
  • Loading branch information
rosahay-silabs committed Jul 7, 2022
1 parent 9b3668c commit c5f3eb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/inet/UDPEndPointImplLwIP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ CHIP_ERROR UDPEndPointImplLwIP::LwIPBindInterface(struct udp_pcb * aUDP, Interfa
InterfaceId UDPEndPointImplLwIP::GetBoundInterface() const
{
#if HAVE_LWIP_UDP_BIND_NETIF
return InterfaceId(netif_get_by_index(mUDP->netif_idx));
return InterfaceId(netif_get_by_index(mUDP->netif_idx + 1));
#else
return InterfaceId(mUDP->intf_filter);
#endif
Expand Down
3 changes: 1 addition & 2 deletions src/lwip/efr32/lwipopts-rs911x.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
#define LWIP_IPV6_AUTOCONFIG (1)
#define LWIP_IPV6_ROUTER_SUPPORT 1
#define LWIP_ND6_LISTEN_RA 1
#define LWIP_IPV6_MLD 1

#define LWIP_ND6_NUM_NEIGHBORS (2)
#define LWIP_ND6_NUM_DESTINATIONS (3)
Expand Down Expand Up @@ -150,9 +151,7 @@

#define LWIP_IPV6_NUM_ADDRESSES 5

#ifndef LWIP_IPV6_ND
#define LWIP_IPV6_ND 1
#endif
#define LWIP_ND6_QUEUEING 1
#define LWIP_NUM_ND6_QUEUE 3

Expand Down

0 comments on commit c5f3eb0

Please sign in to comment.