mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-09-29 13:51:51 +02:00
internal/clientinfo: do not lower case hostname
This commit is contained in:
1 parent
2cd063ebd6
commit
cacd957594
1 file changed
+1
-1
@@ -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