mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-14 03:16:56 +00:00
wgengine/router: remove unused wireguard *Device argument.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
committed by
Dave Anderson
parent
1642dfdb07
commit
0a84aaca0a
@@ -5,14 +5,13 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/tailscale/wireguard-go/device"
|
||||
"github.com/tailscale/wireguard-go/tun"
|
||||
"tailscale.com/types/logger"
|
||||
)
|
||||
|
||||
// NewFakeRouter returns a Router that does nothing when called and
|
||||
// always returns nil errors.
|
||||
func NewFake(logf logger.Logf, _ *device.Device, _ tun.Device) (Router, error) {
|
||||
func NewFake(logf logger.Logf, _ tun.Device) (Router, error) {
|
||||
return fakeRouter{logf: logf}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user