This commit is contained in:
Simon Zolin
2020-05-25 16:34:13 +03:00
parent f3dd9ca7aa
commit b08ec98a97
2 changed files with 2 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ func (s *v6Server) WriteDiskConfig6(c *V6ServerConf) {
}
// Return TRUE if IP address is within range [start..0xff]
// nolint(staticcheck)
func ip6InRange(start net.IP, ip net.IP) bool {
if len(start) != 16 {
return false