mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
remove use of 'v' as a variable name
This commit is contained in:
12 files changed
+45
-45
No files matched your search
+2
-2
@@ -23,8 +23,8 @@ func (this *DnsConfig) Build() *dns.Config {
|
||||
|
||||
if this.Hosts != nil {
|
||||
config.Hosts = make(map[string]*v2net.IPOrDomain)
|
||||
for k, v := range this.Hosts {
|
||||
config.Hosts[k] = v.Build()
|
||||
for domain, ip := range this.Hosts {
|
||||
config.Hosts[domain] = ip.Build()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user