mirror of
https://github.com/fosrl/newt.git
synced 2026-03-03 17:26:43 +00:00
Using 2 nics not working
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"github.com/fosrl/newt/netstack2"
|
||||
"github.com/fosrl/newt/proxy"
|
||||
"github.com/fosrl/newt/websocket"
|
||||
"golang.zx2c4.com/wireguard/tun/netstack"
|
||||
|
||||
"github.com/fosrl/newt/wgnetstack"
|
||||
"github.com/fosrl/newt/wgtester"
|
||||
@@ -66,7 +67,7 @@ func setupClientsNetstack(client *websocket.Client, host string) {
|
||||
})
|
||||
}
|
||||
|
||||
func setDownstreamTNetstack(tnet *netstack2.Net) {
|
||||
func setDownstreamTNetstack(tnet *netstack.Net) {
|
||||
if wgService != nil {
|
||||
wgService.SetOthertnet(tnet)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user