test case for socks.net

This commit is contained in:
V2Ray committed 2015-09-19 15:35:20 +02:00
1 parent 729312f3b5
commit 8be5d695c8
8 files changed
+166 -101

No files matched your search

+2 -2
View File
@@ -42,7 +42,7 @@ func NewPoint(config PointConfig) (*Point, error) {
panic(log.Error("Unknown inbound connection handler factory %s", config.InboundConfig().Protocol()))
}
vpoint.ichFactory = ichFactory
vpoint.ichConfig = config.InboundConfig().Content()
vpoint.ichConfig = config.InboundConfig().Content()
ochFactory, ok := outboundFactories[config.OutboundConfig().Protocol()]
if !ok {
@@ -50,7 +50,7 @@ func NewPoint(config PointConfig) (*Point, error) {
}
vpoint.ochFactory = ochFactory
vpoint.ochConfig = config.OutboundConfig().Content()
vpoint.ochConfig = config.OutboundConfig().Content()
return vpoint, nil
}