4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-15 16:46:06 +00:00

Rename tuntap package to tun

We haven't had TAP support in ages.
This commit is contained in:
Neil Alexander
2022-09-24 14:41:47 +01:00
parent 217ac39e77
commit 01c44a087b
18 changed files with 31 additions and 36 deletions

View File

@ -17,7 +17,7 @@ import (
"github.com/yggdrasil-network/yggdrasil-go/src/admin"
"github.com/yggdrasil-network/yggdrasil-go/src/core"
"github.com/yggdrasil-network/yggdrasil-go/src/multicast"
"github.com/yggdrasil-network/yggdrasil-go/src/tuntap"
"github.com/yggdrasil-network/yggdrasil-go/src/tun"
"github.com/yggdrasil-network/yggdrasil-go/src/version"
)
@ -256,7 +256,7 @@ func run() int {
table.Render()
case "gettun":
var resp tuntap.GetTUNResponse
var resp tun.GetTUNResponse
if err := json.Unmarshal(recv.Response, &resp); err != nil {
panic(err)
}