internal/clientinfo: do not lower case hostname

This commit is contained in:
Cuong Manh Le
2023-08-09 23:54:23 +07:00
committed by Cuong Manh Le
parent 2cd063ebd6
commit cacd957594
+1 -1
View File
@@ -205,5 +205,5 @@ func normalizeHostname(name string) string {
if before, _, found := strings.Cut(name, "."); found { if before, _, found := strings.Cut(name, "."); found {
return before // remove ".local.", ".lan.", ... suffix return before // remove ".local.", ".lan.", ... suffix
} }
return strings.ToLower(name) return name
} }