Skip to content

Commit

Permalink
[zephyr] Fix re-joining multicast groups (#16703)
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian-Nordic authored and pull[bot] committed Oct 19, 2023
1 parent 763456b commit 4448834
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,11 @@ CHIP_ERROR Server::Init(AppDelegate * delegate, uint16_t secureServicePort, uint
// This code is necessary to restart listening to existing groups after a reboot
// Each manufacturer needs to validate that they can rejoin groups by placing this code at the appropriate location for them
//
// This is disabled for thread device because the same code is already present for thread devices in
// Thread LWIP devices using dedicated Inet endpoint implementations are excluded because they call this function from:
// src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread_LwIP.cpp
#if !CHIP_DEVICE_CONFIG_ENABLE_THREAD
#if !CHIP_SYSTEM_CONFIG_USE_OPEN_THREAD_ENDPOINT
RejoinExistingMulticastGroups();
#endif // !CHIP_DEVICE_CONFIG_ENABLE_THREAD
#endif // !CHIP_SYSTEM_CONFIG_USE_OPEN_THREAD_ENDPOINT

PlatformMgr().HandleServerStarted();

Expand Down

0 comments on commit 4448834

Please sign in to comment.