diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-01-22 12:44:18 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-02-02 23:57:10 +0100 |
commit | 2c8d84a3c94cbbe70f3d0443d40b5f3f95d69e54 (patch) | |
tree | 3a0d17cbeb78329f32f831f322278c9f3128fbb6 | |
parent | be4f4efd78ea9694a66938446ac0d7eae7280d26 (diff) |
WIP adapt to changed tunstack
-rw-r--r-- | tun/netstack/tun.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/netstack/tun.go b/tun/netstack/tun.go index 671e865..6efa45f 100644 --- a/tun/netstack/tun.go +++ b/tun/netstack/tun.go @@ -100,7 +100,7 @@ func CreateNetTUN(localAddresses []net.IP, dnsServers []net.IP, mtu int) (tun.De return CreateNetTUNWithStack(stack.New(opts), 1, localAddresses, dnsServers, mtu) } -func CreateNetTUNWithStack(stack *stack.Stack, nicID tcpip.NICID, localAddresses []net.IP, dnsServers []net.IP, mtu int) (Device, *Net, error) { +func CreateNetTUNWithStack(stack *stack.Stack, nicID tcpip.NICID, localAddresses []net.IP, dnsServers []net.IP, mtu int) (tun.Device, *Net, error) { dev := &netTun{ stack: stack, nicID: nicID, |