Skip to content

Commit

Permalink
controller: fix build when disabling TCP (#37081)
Browse files Browse the repository at this point in the history
  • Loading branch information
wqx6 authored Jan 16, 2025
1 parent c3c2a0e commit f2ee6d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controller/CHIPDeviceControllerFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,10 @@ CHIP_ERROR DeviceControllerFactory::InitSystemState(FactoryInitParams params)
//
app::DnssdServer::Instance().SetFabricTable(stateParams.fabricTable);

#if INET_CONFIG_ENABLE_TCP_ENDPOINT
// Disable the TCP Server based on the TCPListenParameters setting.
app::DnssdServer::Instance().SetTCPServerEnabled(tcpListenParams.IsServerListenEnabled());
#endif
}

stateParams.sessionSetupPool = Platform::New<DeviceControllerSystemStateParams::SessionSetupPool>();
Expand Down

0 comments on commit f2ee6d2

Please sign in to comment.