소스 검색

fix build break

v2ray 9 년 전
부모
커밋
786775ea80
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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)
 }