Explorar o código

fix build break

v2ray %!s(int64=9) %!d(string=hai) anos
pai
achega
786775ea80
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      shell/point/config.go

+ 2 - 1
shell/point/config.go

@@ -3,6 +3,7 @@ package point
 import (
 	"github.com/v2ray/v2ray-core/app/dns"
 	"github.com/v2ray/v2ray-core/app/router"
+	"github.com/v2ray/v2ray-core/common"
 	"github.com/v2ray/v2ray-core/common/log"
 	v2net "github.com/v2ray/v2ray-core/common/net"
 	"github.com/v2ray/v2ray-core/transport"
@@ -82,7 +83,7 @@ var (
 
 func LoadConfig(init string) (*Config, error) {
 	if configLoader == nil {
-		return nil, ErrBadConfiguration
+		return nil, common.ErrBadConfiguration
 	}
 	return configLoader(init)
 }