Fix platform interface monitor & Fix system tun stack for ios

This commit is contained in:
世界
2023-04-17 19:05:02 +08:00
parent 5e6e7923e4
commit ec8974673b
10 changed files with 68 additions and 13 deletions

View File

@@ -148,7 +148,7 @@ func (t *Tun) Start() error {
err error
)
if t.platformInterface != nil {
tunInterface, err = t.platformInterface.OpenTun(t.tunOptions, t.platformOptions)
tunInterface, err = t.platformInterface.OpenTun(&t.tunOptions, t.platformOptions)
} else {
tunInterface, err = tun.New(t.tunOptions)
}