mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 09:32:08 +00:00
all: cleanup unused code, part 1 (#10661)
Run `staticcheck` with `U1000` to find unused code. This cleans up about a half of it. I'll do the other half separately to keep PRs manageable. Updates #cleanup Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
This commit is contained in:
@@ -605,10 +605,6 @@ func (r *linuxRouter) getV6Available() bool {
|
||||
return r.nfr.HasIPV6()
|
||||
}
|
||||
|
||||
func (r *linuxRouter) getV6NATAvailable() bool {
|
||||
return r.nfr.HasIPV6NAT()
|
||||
}
|
||||
|
||||
// addAddress adds an IP/mask to the tunnel interface. Fails if the
|
||||
// address is already assigned to the interface, or if the addition
|
||||
// fails.
|
||||
|
||||
Reference in New Issue
Block a user