Skip to content

Commit

Permalink
comment unused func for static check
Browse files Browse the repository at this point in the history
  • Loading branch information
yabinma committed Sep 26, 2024
1 parent aeec67e commit 5ae1c40
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dns/config_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down

0 comments on commit 5ae1c40

Please sign in to comment.