diff options
-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, |