[client] Limit P2P attempts and restart on specific events (#2657)

This commit is contained in:
Viktor Liu
2024-10-08 11:21:11 +02:00
committed by GitHub
parent 2c1f5e46d5
commit 44e8107383
5 changed files with 285 additions and 58 deletions

View File

@@ -6,6 +6,6 @@ import (
"github.com/netbirdio/netbird/client/internal/stdnet"
)
func (w *WorkerICE) newStdNet() (*stdnet.Net, error) {
return stdnet.NewNet(w.config.ICEConfig.InterfaceBlackList)
func newStdNet(_ stdnet.ExternalIFaceDiscover, ifaceBlacklist []string) (*stdnet.Net, error) {
return stdnet.NewNet(ifaceBlacklist)
}