mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-22 09:14:24 +00:00
fix: Report fork component references to reference manager
This commit is contained in:
@@ -100,6 +100,10 @@ func (h *Outbound) Start(stage adapter.StartStage, scope *adapter.Scope) error {
|
||||
return h.router.Start(stage, scope)
|
||||
}
|
||||
|
||||
func (h *Outbound) References() []string {
|
||||
return h.router.References()
|
||||
}
|
||||
|
||||
func (h *Outbound) DialContext(ctx context.Context, network string, destination M.Socksaddr) (net.Conn, error) {
|
||||
conn, err := h.detour.DialContext(ctx, network, destination)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user