Remove tuntap references. We only use TUN.

This commit is contained in:
Brad Fitzpatrick
2020-09-25 13:13:13 -07:00
parent 8b94a769be
commit c86761cfd1
3 changed files with 5 additions and 5 deletions

View File

@ -12,8 +12,8 @@ import (
"tailscale.com/types/logger"
)
func newUserspaceRouter(logf logger.Logf, tunname string, dev *device.Device, tuntap tun.Device, netChanged func()) Router {
return NewFakeRouter(logf, tunname, dev, tuntap, netChanged)
func newUserspaceRouter(logf logger.Logf, tunname string, dev *device.Device, tunDev tun.Device, netChanged func()) Router {
return NewFakeRouter(logf, tunname, dev, tunDev, netChanged)
}
func cleanup(logf logger.Logf, interfaceName string) {