[client] Fix nil pointer panic in device and engine code (#5287)

This commit is contained in:
Viktor Liu
2026-02-12 16:15:42 +08:00
committed by GitHub
parent 2de1949018
commit 1ddc9ce2bf
4 changed files with 23 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ func (t *NetStackTun) Create() (tun.Device, *netstack.Net, error) {
}
}()
return nsTunDev, tunNet, nil
return t.tundev, tunNet, nil
}
func (t *NetStackTun) Close() error {