mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-29 22:46:56 +00:00
Merge tag 'v1.14.3'
This commit is contained in:
@@ -89,7 +89,7 @@ func (h *Outbound) Network() []string {
|
||||
return []string{N.NetworkTCP, N.NetworkUDP}
|
||||
}
|
||||
|
||||
func (h *Outbound) Start(stage adapter.StartStage) error {
|
||||
func (h *Outbound) Start(stage adapter.StartStage, scope *adapter.Scope) error {
|
||||
if stage == adapter.StartStateStart {
|
||||
detour, loaded := h.outbound.Outbound(h.outboundTag)
|
||||
if !loaded {
|
||||
@@ -97,11 +97,7 @@ func (h *Outbound) Start(stage adapter.StartStage) error {
|
||||
}
|
||||
h.detour = detour
|
||||
}
|
||||
return h.router.Start(stage)
|
||||
}
|
||||
|
||||
func (h *Outbound) Close() error {
|
||||
return h.router.Close()
|
||||
return h.router.Start(stage, scope)
|
||||
}
|
||||
|
||||
func (h *Outbound) DialContext(ctx context.Context, network string, destination M.Socksaddr) (net.Conn, error) {
|
||||
|
||||
Reference in New Issue
Block a user