From 5ae1c4044a6207337ee3861f862e31103dd4cc0f Mon Sep 17 00:00:00 2001 From: Max Ma Date: Thu, 26 Sep 2024 14:11:06 +0200 Subject: [PATCH] comment unused func for static check --- dns/config_linux.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dns/config_linux.go b/dns/config_linux.go index ea3d73da..e22f86e0 100644 --- a/dns/config_linux.go +++ b/dns/config_linux.go @@ -22,13 +22,13 @@ func isStubSupported() bool { return config.Netclient().DNSManagerType == DNS_MANAGER_STUB } -func isUplinkSupported() bool { - return config.Netclient().DNSManagerType == DNS_MANAGER_UPLINK -} +// func isUplinkSupported() bool { +// return config.Netclient().DNSManagerType == DNS_MANAGER_UPLINK +// } -func isFileSupported() bool { - return config.Netclient().DNSManagerType == DNS_MANAGER_FILE -} +// func isFileSupported() bool { +// return config.Netclient().DNSManagerType == DNS_MANAGER_FILE +// } func SetupDNSConfig() (err error) {