[client] Use management-provided dns forwarder port on the client side (#4712)

This commit is contained in:
Viktor Liu
2025-10-28 22:58:43 +01:00
committed by GitHub
parent d3a34adcc9
commit 1ee575befe
6 changed files with 34 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
package common
import (
"sync/atomic"
"time"
"github.com/netbirdio/netbird/client/firewall/manager"
@@ -25,4 +26,5 @@ type HandlerParams struct {
UseNewDNSRoute bool
Firewall manager.Manager
FakeIPManager *fakeip.Manager
ForwarderPort *atomic.Uint32
}