mirror of https://github.com/v2ray/v2ray-core
fix build break
parent
39737f6fc1
commit
786775ea80
|
@ -3,6 +3,7 @@ package point
|
||||||
import (
|
import (
|
||||||
"github.com/v2ray/v2ray-core/app/dns"
|
"github.com/v2ray/v2ray-core/app/dns"
|
||||||
"github.com/v2ray/v2ray-core/app/router"
|
"github.com/v2ray/v2ray-core/app/router"
|
||||||
|
"github.com/v2ray/v2ray-core/common"
|
||||||
"github.com/v2ray/v2ray-core/common/log"
|
"github.com/v2ray/v2ray-core/common/log"
|
||||||
v2net "github.com/v2ray/v2ray-core/common/net"
|
v2net "github.com/v2ray/v2ray-core/common/net"
|
||||||
"github.com/v2ray/v2ray-core/transport"
|
"github.com/v2ray/v2ray-core/transport"
|
||||||
|
@ -82,7 +83,7 @@ var (
|
||||||
|
|
||||||
func LoadConfig(init string) (*Config, error) {
|
func LoadConfig(init string) (*Config, error) {
|
||||||
if configLoader == nil {
|
if configLoader == nil {
|
||||||
return nil, ErrBadConfiguration
|
return nil, common.ErrBadConfiguration
|
||||||
}
|
}
|
||||||
return configLoader(init)
|
return configLoader(init)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue