From 966182c87da4b3b387303e2d2eeeea4d69bf1de8 Mon Sep 17 00:00:00 2001 From: Xu Si Yu Date: Thu, 24 Apr 2025 12:12:22 +0800 Subject: [PATCH] feat(openthread): dns server of border router bind unspecified netif --- .../private_include/openthread-core-esp32x-ftd-config.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/openthread/private_include/openthread-core-esp32x-ftd-config.h b/components/openthread/private_include/openthread-core-esp32x-ftd-config.h index 1eec63bc70..942ceeb6bf 100644 --- a/components/openthread/private_include/openthread-core-esp32x-ftd-config.h +++ b/components/openthread/private_include/openthread-core-esp32x-ftd-config.h @@ -440,6 +440,15 @@ #define OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE 1 #endif +/** + * @def OPENTHREAD_CONFIG_DNSSD_SERVER_BIND_UNSPECIFIED_NETIF + * + * Define to 1 to bind DNS-SD server to unspecified interface, 0 to bind to Thread interface. + */ +#ifndef OPENTHREAD_CONFIG_DNSSD_SERVER_BIND_UNSPECIFIED_NETIF +#define OPENTHREAD_CONFIG_DNSSD_SERVER_BIND_UNSPECIFIED_NETIF 1 +#endif + /** * @def OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE *