mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-19 15:45:20 -05:00
Lint: update linter config & fix code style (#1089)
* Lint: update linter config * Fix: code style
This commit is contained in:
@@ -26,7 +26,7 @@ func (ctx *ResolvableContext) GetTargetIPs() []net.IP {
|
||||
}
|
||||
|
||||
if domain := ctx.GetTargetDomain(); len(domain) != 0 {
|
||||
var lookupFunc = ctx.dnsClient.LookupIP
|
||||
lookupFunc := ctx.dnsClient.LookupIP
|
||||
ipOption := &dns.IPOption{
|
||||
IPv4Enable: true,
|
||||
IPv6Enable: true,
|
||||
|
||||
Reference in New Issue
Block a user