Fix proxy tests

This commit is contained in:
Zoltán Papp
2025-09-04 13:15:38 +02:00
parent 180b52ba26
commit ccf40fefaf
3 changed files with 5 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ import (
"net"
"github.com/netbirdio/netbird/client/iface/bind"
"github.com/netbirdio/netbird/client/iface/wgaddr"
bindproxy "github.com/netbirdio/netbird/client/iface/wgproxy/bind"
)
@@ -17,7 +18,7 @@ func seedProxies() ([]proxyInstance, error) {
func seedProxyForProxyCloseByRemoteConn() ([]proxyInstance, error) {
pl := make([]proxyInstance, 0)
wgAddress, err := wgaddr.ParseWGAddress("10.0.0.1")
wgAddress, err := wgaddr.ParseWGAddress("10.0.0.1/32")
if err != nil {
return nil, err
}