summaryrefslogtreecommitdiffhomepage
path: root/wgengine/netstack/netstack_32bit.go
diff options
context:
space:
mode:
authorNaman Sood <mail@nsood.in>2021-02-25 12:14:55 -0500
committerNaman Sood <mail@nsood.in>2021-02-25 13:46:41 -0500
commit728c38a2ca470dcc8c90872b29b7767601db2679 (patch)
treea3b63b45c5e6ccf014562a040d5958a15db7770c /wgengine/netstack/netstack_32bit.go
parent07c3df13c69d0a95582ebc6c98b1bed116296287 (diff)
downloadtailscale-naman/netstack-outgoing-udp-test.tar.xz
tailscale-naman/netstack-outgoing-udp-test.zip
wgengine, cmd/tailscaled: refactor netstack, forward TCP to hello as demonaman/netstack-outgoing-udp-test
Updates #707 Updates #504 Signed-off-by: Naman Sood <mail@nsood.in>
Diffstat (limited to 'wgengine/netstack/netstack_32bit.go')
-rw-r--r--wgengine/netstack/netstack_32bit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/wgengine/netstack/netstack_32bit.go b/wgengine/netstack/netstack_32bit.go
index 22b34e51e..dfb433d3d 100644
--- a/wgengine/netstack/netstack_32bit.go
+++ b/wgengine/netstack/netstack_32bit.go
@@ -16,6 +16,6 @@ import (
"tailscale.com/wgengine/tstun"
)
-func Impl(logf logger.Logf, tundev *tstun.TUN, e wgengine.Engine, mc *magicsock.Conn) error {
- return errors.New("netstack is not supported on 32-bit platforms for now; see https://github.com/google/gvisor/issues/5241")
+func Create(logf logger.Logf, tundev *tstun.TUN, e wgengine.Engine, mc *magicsock.Conn) (wgengine.FakeImpl, error) {
+ return nil, errors.New("netstack is not supported on 32-bit platforms for now; see https://github.com/google/gvisor/issues/5241")
}