fix build break

pull/2034/head
v2ray 2016-08-18 08:24:47 +02:00
parent 39737f6fc1
commit 786775ea80
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 2 additions and 1 deletions

View File

@ -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)
} }