From 6144b2ff55c7852ab953b4dd58b0eb41a64ffc1f Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sun, 5 Feb 2017 09:15:52 +0100 Subject: [PATCH] update reference --- v2ray.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v2ray.go b/v2ray.go index 48800521..5890171a 100644 --- a/v2ray.go +++ b/v2ray.go @@ -8,7 +8,7 @@ import ( "v2ray.com/core/app/dns" "v2ray.com/core/app/log" "v2ray.com/core/app/proxyman" - v2net "v2ray.com/core/common/net" + "v2ray.com/core/common/net" ) // Point shell of V2Ray. @@ -80,8 +80,8 @@ func NewPoint(config *Config) (*Point, error) { dnsServer := dns.FromSpace(space) if dnsServer == nil { dnsConfig := &dns.Config{ - NameServers: []*v2net.Endpoint{{ - Address: v2net.NewIPOrDomain(v2net.LocalHostDomain), + NameServers: []*net.Endpoint{{ + Address: net.NewIPOrDomain(net.LocalHostDomain), }}, } d, err := app.CreateAppFromConfig(ctx, dnsConfig)