rename errors

This commit is contained in:
v2ray committed 2016-08-07 15:32:41 +02:00
1 parent 75b8dd9521
commit 545fa5b53c
5 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ func (this *InboundDetourConfig) UnmarshalJSON(data []byte) error {
}
if jsonConfig.PortRange == nil {
log.Error("Point: Port range not specified in InboundDetour.")
return ErrorBadConfiguration
return ErrBadConfiguration
}
this.ListenOn = v2net.AnyIP
if jsonConfig.ListenOn != nil {