mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
internal/clientinfo: do not lower case hostname
This commit is contained in:
committed by
Cuong Manh Le
parent
2cd063ebd6
commit
cacd957594
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user