From 3367136d9eac1e3d1ec726fd060903fc2474c1e9 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 2 Nov 2022 20:09:39 -0700 Subject: [PATCH] wgengine/netstack: remove old unused handleSSH hook It's leftover from an earlier Tailscale SSH wiring and I forgot to delete it apparently. Change-Id: I14f071f450e272b98d90080a71ce68ba459168d1 Signed-off-by: Brad Fitzpatrick --- wgengine/netstack/netstack.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wgengine/netstack/netstack.go b/wgengine/netstack/netstack.go index aec4a9ef8..0b7ffbf5f 100644 --- a/wgengine/netstack/netstack.go +++ b/wgengine/netstack/netstack.go @@ -127,10 +127,6 @@ type Impl struct { connsOpenBySubnetIP map[netip.Addr]int } -// handleSSH is initialized in ssh.go (on Linux only) to register an SSH server -// handler. See https://github.com/tailscale/tailscale/issues/3802. -var handleSSH func(logger.Logf, *ipnlocal.LocalBackend, net.Conn) error - const nicID = 1 const mtu = tstun.DefaultMTU