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
+2 -2
View File
@@ -48,7 +48,7 @@ import (
"tailscale.com/wgengine/tstun"
)
// minimalMTU is the MTU we set on tailscale's tuntap
// minimalMTU is the MTU we set on tailscale's TUN
// interface. wireguard-go defaults to 1420 bytes, which only works if
// the "outer" MTU is 1500 bytes. This breaks on DSL connections
// (typically 1492 MTU) and on GCE (1460 MTU?!).
@@ -142,7 +142,7 @@ type EngineConfig struct {
}
func NewFakeUserspaceEngine(logf logger.Logf, listenPort uint16) (Engine, error) {
logf("Starting userspace wireguard engine (FAKE tuntap device).")
logf("Starting userspace wireguard engine (with fake TUN device)")
conf := EngineConfig{
Logf: logf,
TUN: tstun.NewFakeTUN(),