*: fix linter warnings

This commit is contained in:
Andrey Meshkov 2019-10-02 16:40:26 +03:00
parent e4fba69f9d
commit 9b23acf6da
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ func isRunning() bool {
return config.dnsServer != nil && config.dnsServer.IsRunning()
}
// nolint (gocyclo)
// Return TRUE if IP is within public Internet IP range
func isPublicIP(ip net.IP) bool {
ip4 := ip.To4()