mirror of
https://github.com/espressif/openthread.git
synced 2026-08-23 18:59:51 +00:00
[dns-client] Initialize mSendLink structure in Client constructor (#10840)
Signed-off-by: Cristian Bulacu <[email protected]>
This commit is contained in:
@@ -753,6 +753,9 @@ Client::Client(Instance &aInstance)
|
||||
static_assert(kServiceQuerySrv == 3, "kServiceQuerySrv value is not correct");
|
||||
static_assert(kServiceQueryTxt == 4, "kServiceQuerySrv value is not correct");
|
||||
#endif
|
||||
#if OPENTHREAD_CONFIG_DNS_CLIENT_OVER_TCP_ENABLE
|
||||
ClearAllBytes(mSendLink);
|
||||
#endif
|
||||
}
|
||||
|
||||
Error Client::Start(void)
|
||||
|
||||
Reference in New Issue
Block a user