net/tstun: rename from net/tun.

We depend on wireguard-go/tun, identical leaf packages can be
confusing in code.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-03-26 22:07:19 -07:00
committed by Dave Anderson
parent 2b4bfeda1a
commit 018200aeba
6 changed files with 9 additions and 9 deletions

View File

@@ -4,7 +4,7 @@
// +build !windows
package tun
package tstun
import (
"time"

View File

@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package tun
package tstun
import (
"fmt"

View File

@@ -4,7 +4,7 @@
// Package tun creates a tuntap device, working around OS-specific
// quirks if necessary.
package tun
package tstun
import (
"bytes"