mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-03 20:07:40 +03:00
Add create tun from file descriptor
This commit is contained in:
parent
8cb63dbb54
commit
0cdb0eed74
8 changed files with 67 additions and 49 deletions
|
@ -6,6 +6,6 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
func Open(config Options) (Tun, error) {
|
||||
func New(config Options) (Tun, error) {
|
||||
return nil, os.ErrInvalid
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue