mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-12 00:52:00 +00:00
wgengine, cmd/tailscaled: refactor netstack, forward TCP to hello as demo (#1301)
Updates #707 Updates #504 Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
@@ -192,9 +192,9 @@ func run() error {
|
||||
|
||||
var e wgengine.Engine
|
||||
if args.fake {
|
||||
var impl wgengine.FakeImplFunc
|
||||
var impl wgengine.FakeImplFactory
|
||||
if args.tunname == "userspace-networking" {
|
||||
impl = netstack.Impl
|
||||
impl = netstack.Create
|
||||
}
|
||||
e, err = wgengine.NewFakeUserspaceEngine(logf, 0, impl)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user