Skip to content

Commit 9f9e573

Browse files
authored
修复一个无伤大雅的小bug。
1 parent a42bdf1 commit 9f9e573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func (tun *Tunnel) listenDomains() {
139139
tun.fgListsLock.Lock()
140140
defer tun.fgListsLock.Unlock()
141141
idkeys := strings.Split(domain[0:len(domain)-len(tun.topDomain)-1], ".")
142-
idkey := idkeys[len(idkeys)-1]
142+
idkey := strings.ToLower(idkeys[len(idkeys)-1])
143143
//log.Print(idkey)
144144
if len(idkey) == 8 {
145145
fd, _ := os.OpenFile(tmplogdir+idkey, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0644)

0 commit comments

Comments
 (0)