refactor: Modular inbounds/outbounds

This commit is contained in:
世界
2025-01-13 15:14:29 +08:00
parent 9f7683818f
commit e233fd4fe5
152 changed files with 3114 additions and 2924 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ func NewDefault(router adapter.Router, options option.DialerOptions) (*DefaultDi
setMultiPathTCP(&dialer4)
}
if options.IsWireGuardListener {
for _, controlFn := range wgControlFns {
for _, controlFn := range WgControlFns {
listener.Control = control.Append(listener.Control, controlFn)
}
}