From bb91b51d7ddbec0c9137212206401087cce88dce Mon Sep 17 00:00:00 2001 From: SanthoshGujulvajagadeesh <68006718+SanthoshGujulvajagadeesh@users.noreply.github.com> Date: Mon, 30 Mar 2026 06:19:32 +0000 Subject: [PATCH] Add T2 marker for OneStack --- source/dmlxdns/cosa_xdns_apis.c | 1 - source/dmlxdns/cosa_xdns_apis.h | 1 + source/dmlxdns/cosa_xdns_dml.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/dmlxdns/cosa_xdns_apis.c b/source/dmlxdns/cosa_xdns_apis.c index ece7fbc..cc9c890 100644 --- a/source/dmlxdns/cosa_xdns_apis.c +++ b/source/dmlxdns/cosa_xdns_apis.c @@ -80,7 +80,6 @@ extern ANSC_HANDLE bus_handle; #include "ccsp_xdnsLog_wrapper.h" #include "safec_lib_common.h" #include "secure_wrapper.h" -#include //static pthread_mutex_t dnsmasqMutex = PTHREAD_MUTEX_INITIALIZER; #define BUF_LEN (10 * (sizeof(struct inotify_event) + NAME_MAX + 1)) diff --git a/source/dmlxdns/cosa_xdns_apis.h b/source/dmlxdns/cosa_xdns_apis.h index 988f892..c611a1c 100644 --- a/source/dmlxdns/cosa_xdns_apis.h +++ b/source/dmlxdns/cosa_xdns_apis.h @@ -19,6 +19,7 @@ #include "cosa_apis.h" #include "dslh_definitions_tr143.h" +#include #define RESOLV_CONF "/etc/resolv.conf" #define DNSMASQ_SERVERS_CONF "/nvram/dnsmasq_servers.conf" diff --git a/source/dmlxdns/cosa_xdns_dml.c b/source/dmlxdns/cosa_xdns_dml.c index 08ed88e..a1895e3 100644 --- a/source/dmlxdns/cosa_xdns_dml.c +++ b/source/dmlxdns/cosa_xdns_dml.c @@ -718,6 +718,7 @@ XDNS_SetParamBoolValue if (!is_devicemode_business()) { CcspTraceInfo(("[XDNS] DNSSec feature not supported in residential mode\n")); + t2_event_d("XDNS_DNSSec_NotSupported", 1); return FALSE; } #endif // _ONESTACK_PRODUCT_REQ_