internal/clientinfo: do not lower case hostname

This commit is contained in:
Cuong Manh Le
2023-07-18 19:00:08 +07:00
committed by Cuong Manh Le
parent 2cd063ebd6
commit cacd957594

View File

@@ -205,5 +205,5 @@ func normalizeHostname(name string) string {
if before, _, found := strings.Cut(name, "."); found {
return before // remove ".local.", ".lan.", ... suffix
}
return strings.ToLower(name)
return name
}