mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-13 19:27:56 +03:00
Add tun platform options
This commit is contained in:
@@ -31,7 +31,7 @@ func check() error {
|
||||
return err
|
||||
}
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
_, err = box.New(ctx, options)
|
||||
_, err = box.New(ctx, options, nil)
|
||||
cancel()
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user