diff --git a/shell/point/point.go b/shell/point/point.go index c9d13e691..d383c17b0 100644 --- a/shell/point/point.go +++ b/shell/point/point.go @@ -109,7 +109,7 @@ func NewPoint(pConfig *Config) (*Point, error) { if len(outboundDetours) > 0 { vpoint.odh = make(map[string]proxy.OutboundHandler) for _, detourConfig := range outboundDetours { - detourHandler, err := proxyrepo.CreateOutboundConnectionHandler(detourConfig.Protocol, vpoint.space.ForContext(detourConfig.Tag), detourConfig.Settings) + detourHandler, err := proxyrepo.CreateOutboundHandler(detourConfig.Protocol, vpoint.space.ForContext(detourConfig.Tag), detourConfig.Settings) if err != nil { log.Error("Failed to create detour outbound connection handler: ", err) return nil, err