|
@@ -16,7 +16,7 @@ type Point struct {
|
|
|
ich connhandler.InboundConnectionHandler
|
|
ich connhandler.InboundConnectionHandler
|
|
|
och connhandler.OutboundConnectionHandler
|
|
och connhandler.OutboundConnectionHandler
|
|
|
idh []*InboundDetourHandler
|
|
idh []*InboundDetourHandler
|
|
|
- odh map[config.DetourTag]connhandler.OutboundConnectionHandler
|
|
|
|
|
|
|
+ odh map[string]connhandler.OutboundConnectionHandler
|
|
|
router router.Router
|
|
router router.Router
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -70,7 +70,7 @@ func NewPoint(pConfig config.PointConfig) (*Point, error) {
|
|
|
|
|
|
|
|
outboundDetours := pConfig.OutboundDetours()
|
|
outboundDetours := pConfig.OutboundDetours()
|
|
|
if len(outboundDetours) > 0 {
|
|
if len(outboundDetours) > 0 {
|
|
|
- vpoint.odh = make(map[config.DetourTag]connhandler.OutboundConnectionHandler)
|
|
|
|
|
|
|
+ vpoint.odh = make(map[string]connhandler.OutboundConnectionHandler)
|
|
|
for _, detourConfig := range outboundDetours {
|
|
for _, detourConfig := range outboundDetours {
|
|
|
detourFactory := connhandler.GetOutboundConnectionHandlerFactory(detourConfig.Protocol())
|
|
detourFactory := connhandler.GetOutboundConnectionHandlerFactory(detourConfig.Protocol())
|
|
|
if detourFactory == nil {
|
|
if detourFactory == nil {
|