mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-08-10 13:20:33 +02:00
internal/clientinfo: do not lower case hostname
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user