tools: update submodules
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
36058ead7d
commit
373a5f18d6
@ -11,8 +11,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func CreateTUNFromFD(tun_fd int) (TUNDevice, string, error) {
|
func CreateTUNFromFD(tun_fd int) (TUNDevice, string, error) {
|
||||||
|
file := os.NewFile(uintptr(tun_fd), "/dev/tun")
|
||||||
tun := &nativeTun{
|
tun := &nativeTun{
|
||||||
fd: os.NewFile(uintptr(tun_fd), "/dev/tun"),
|
tunFile: file,
|
||||||
|
fd: file.Fd(),
|
||||||
events: make(chan TUNEvent, 5),
|
events: make(chan TUNEvent, 5),
|
||||||
errors: make(chan error, 5),
|
errors: make(chan error, 5),
|
||||||
nopi: true,
|
nopi: true,
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 36c4f1047ed51d7dd4128ff4ceb837a56470646c
|
Subproject commit abc9fae9e2b93e276e9734fe6e784947165c30e0
|
@ -1 +1 @@
|
|||||||
Subproject commit 5d6083df7e0399d9cbb47a9dc0b227fd86ccffbb
|
Subproject commit 8be1fc9c00407b85073ed66d95f12202df674ccb
|
Loading…
Reference in New Issue
Block a user